Hi
@atilim,
my PNG images raise an issue "Image format is not supported.".
This seems different from
"Png Color format is not supported".
This happens when the image has a color profile, in my case Color profile : Color LCD.
It seems to come from Automator on a "Crop images" operation.
I don't know why this profile gets added, I haven't found a way to prevent it and/or remove it inside Automator.
My question is :
- Is that something that could be solved on Gideros side?
- Or is it instead something that has to be avoided by the user?
In the latter case, does anybody know a way to remove a profile automatically (ideally through Automator, or Applescript).
I don't know why Automator does that, this doesn't happen on scale/change file type operations, only when cropping.
Note : ImageOptim didn't help
Thank you
Comments
(We integrated the commandline version in our build script)
It seems to be windows only, though
Thank you.
I'd like to precise that my original question had little to do with png optimization though.
Also I wouldn't want to upload my work to a website + I have dozens of images which makes it impossible to automate.
I just wanted to know if @atilim had an idea why images with a color profile are not supported in Gideros, and if :
It appears although it has a .png extension, in fact it's a JPEG file. The problem is not because of color profile.
ok thank you, so it must be something with Automator.
That's surprising because everything is made to get a png at the end and it works in Gideros with a jpg changed to png in automator.
If I give a jpg file to the Automator, it outputs a png that works under Gideros.
If I give a png file to the Automator (the exact same one), it outputs a png that raises an error.
Likes: Mells
thank you, that's very helpful