Issue
I would like to remove from my images their sRGB profile if they have one. the problem i don't know how to identify that an image have a sRGB profile. What the good way to do ?
Solution
In Imagemagick, use
convert image.suffix -format "%[profiles]\n" info:
or
convert image.suffix -format "%[profile:icc]\n" info:
unless your Imagemagick version is ancient.
For example:
convert logo.jpg -format "%[profiles]\n" info:
icc
convert logo.jpg -format "%[profile:icc]\n" info:
sRGB built-in
Answered By - fmw42 Answer Checked By - Cary Denson (PHPFixing Admin)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.