I am running this command:
convert test.jpg -profile rgb.icc -profile cmyk.icc cmyk_test.jpg
It runs perfect on a webserver with the old IM version 6.2.4, but it fails to do a proper conversion on the slightly newer 6.2.5
The new profile gets attached, but there is no actual conversion on 6.2.5, whereas 6.2.4. does the job fine.
Since these are commercially hosted sites I do not have control over the version...
Is there any way to get 6.2.5 to do the job just like 6.2.4 does...
Thanks for the help!
Color profile conversion
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Color profile conversion
If you really believe this is a bug, then you should post it with your images and profiles to the bugs forum at viewforum.php?f=3
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Color profile conversion
Are the profiles (which are external to IM) actually installed on the machine with the newer version?
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: Color profile conversion
Yes, profiles are installed and the cmyk profile is even attached to the new image as identify -verbose shows.
It just seems that the profile is attached without any conversion taking place....
Any ideas?
It just seems that the profile is attached without any conversion taking place....
Any ideas?
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Color profile conversion
If the image does not have a profile, the first profile option will attach one, then the second will do the conversion.
If the image does have a profile attached the first profile option will do the conversion.
Sometimes I think a warning should be given if no color profile was present when the first profile is attached. EG something like
If the image does have a profile attached the first profile option will do the conversion.
Sometimes I think a warning should be given if no color profile was present when the first profile is attached. EG something like
Of course a -quiet operational flag will then not give the warning, while a -regard-warnings flag would cause IM to terminate with an error in that case (allowing scripts to try a second time using -quiet, and provide two profiles with a guess at the current color profile of the image)WARNING: no existing color profile found, attaching given profile without color conversion
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: Color profile conversion
Hi anthony,
But still that's not the problem.
I have also tried:
convert test.jpg -strip -profile "rgb.icc" -profile "cmyk.icc" cmyk_test.jpg
to strip out all profile information first.
Also in this case, the cmyk profile is attached but the colorspace of the image is still RGB, indicating no actual conversion took place.
Any further suggestions?
But still that's not the problem.
I have also tried:
convert test.jpg -strip -profile "rgb.icc" -profile "cmyk.icc" cmyk_test.jpg
to strip out all profile information first.
Also in this case, the cmyk profile is attached but the colorspace of the image is still RGB, indicating no actual conversion took place.
Any further suggestions?
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Color profile conversion
No sorry. As I mentioned before I don't use color profiles myself. I have only seem a lot of people with similar problems caused by color profiles, and have noted information on this. It certainaly sounded like the problem you were experiencing.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/