(03-04-2024, 10:36 AM)Ofnuts Wrote: The image you posted is grayscale (as in Image > Mode > Grayscale). So it only has a single Gray channel, and no R/G/B channels. Therefore the script code that explicitly sets color channels can't work.
Thank you for your response.
I understand that the script is currently designed to work with RGB channels and cannot apply curves to grayscale images. I appreciate you pointing out the issue and providing a detailed explanation.
I am interested in exploring the possibility of modifying the script to support the value channel instead of RGB channels. This would allow me to apply curves to grayscale images and achieve the desired tonal adjustments.
I will investigate the necessary changes to the script.
Thank you again for your help and guidance.
(03-04-2024, 11:22 AM)rich2005 Wrote: It is amazing that photolab_curvebatch.py works at all. A tribute to backwards compatibility.
This from the version I have archived.
# Version 3.0
# - ported to new curve format used in GIMP-2.6
Then Gimp 2.10 came along and the format changed again. This comparing the same curve Gimp 2.8 <> Gimp 2.10
As a note: for Gimp 2.10 then the batch plugin BIMP version 2.x uses the newer format. If you have older curve files then the legacy BIMP 1.8 uses the old style format.
Thank you for your information.
I want to clarify that the curve file I am using was created in GIMP 2.10, so it should be using the latest format. Therefore, I believe that the issue is not with the curve file itself, but rather with the script's handling of grayscale images.
Thank you again for your help and guidance.