11-20-2022, 01:39 AM
Hi!
I'm new to the forum and scripting, and have little GIMP experience.
I am working on my first python-fu script, which opens jpg files, changes them, and saves to new jpg files.
How one would load a jpg file while preserving its original 'sRGB' color space? When I open the file through the GUI, GIMP asks me if I want to keep it or convert to 'GIMP built-in sRGB'. However, when my script loads the file with pdb.gimp_file_load(), It just converts it automatically.
I'm running GIMP 2.10 on Debian.
Thanks a lot!
I'm new to the forum and scripting, and have little GIMP experience.
I am working on my first python-fu script, which opens jpg files, changes them, and saves to new jpg files.
How one would load a jpg file while preserving its original 'sRGB' color space? When I open the file through the GUI, GIMP asks me if I want to keep it or convert to 'GIMP built-in sRGB'. However, when my script loads the file with pdb.gimp_file_load(), It just converts it automatically.
I'm running GIMP 2.10 on Debian.
Thanks a lot!