How can I find the path or name for an open app’s icon in KDE’s Icons Only Task Manager?

I’m trying to create a new .desktop file that wraps another application (some setup needs to occur before this application can run on my system). When this application launches, it has an icon that I would like to use, but right clicking it gives no option for icon introspection.

For AppImages, you can use this process, but I’m wondering if there’s a more generic way to accomplish this task.