Hi,
I have made GIMP3 python plug-in sample program to control Flatpak application. This sample program controls Exiftool under ART flatpak version.If user runs this and selects a target image file, it shows the compression type of the file in error console.
Of course, you need to install ART flatpak version to operate this program normally and it operates only on Linux.
If you install this program, you can start it from [Test] > [Sample of controlling flatpak app…] in GIMP3 menu.
I don’t know the reason, but Flatpak applications can not be controlled with subprocess in Python, and it is need to use os.system or os.popen to do it. And if host program GIMP is Flatpak version, it is needed to start it with ‘–socket=session-bus’ option.

