I am using ImageMagick-6.5.7-Q16.
I try to convert an image from PhotoCD format[highest resolution] to Jpeg. However, the output image has very weird colour.
The command is
convert test.pcd[5] test.jpg
Converting to TIFF is OK.
Does anyone know what is happening?
A sample pcd file (BlownJohn.pcd) can be downloaded from http://tedfelix.com/PhotoCD/PCDExperiment.html
Covert PhotoCD to Jpeg -- weird colour
Re: Covert PhotoCD to Jpeg -- weird colour
Add -colorspace RGB to your command line. Or use a color profile with -profile.
Re: Covert PhotoCD to Jpeg -- weird colour
Hi magick,
Great! It's working now. Thanks
Great! It's working now. Thanks
Re: Covert PhotoCD to Jpeg -- weird colour
I notice that whenever I try to convert the highest resolution of PCD, e.g.
I get this error message
convert: Corrupt PCD image, skipping to sync byte `BlownJohn.pcd' @ pcd.c/Decode
Image/301.
However, I still can get the output jpg file and it seems OK. Converting with lower resolution (below 5) does not get the error message.
I wonder what is the error about.
Code: Select all
convert -colorspace RGB BlownJohn.pcd[5] test.jpg
convert: Corrupt PCD image, skipping to sync byte `BlownJohn.pcd' @ pcd.c/Decode
Image/301.
However, I still can get the output jpg file and it seems OK. Converting with lower resolution (below 5) does not get the error message.
I wonder what is the error about.
Re: Covert PhotoCD to Jpeg -- weird colour
The problem you reported is fixed in the latest release of ImageMagick, 6.5.8-4.
Re: Covert PhotoCD to Jpeg -- weird colour
Yes, the error message is gone. Thanks.
One new question. I came across this site regarding the lost hightlights problem in PhotoCD http://tedfelix.com/PhotoCD/PCDSoftware.html
I have tested with the latest version of ImageMagick and the result is still the same. I tried out the modified DLL supplied at that site by replacing IM_MOD_RL_pcd_.dll in coders subfolder. However, there was error occurred.
May I know how to test that modified PhotoCD DLL (or other PhotoCD DLL) in ImageMagick?
One new question. I came across this site regarding the lost hightlights problem in PhotoCD http://tedfelix.com/PhotoCD/PCDSoftware.html
I have tested with the latest version of ImageMagick and the result is still the same. I tried out the modified DLL supplied at that site by replacing IM_MOD_RL_pcd_.dll in coders subfolder. However, there was error occurred.
May I know how to test that modified PhotoCD DLL (or other PhotoCD DLL) in ImageMagick?
Re: Covert PhotoCD to Jpeg -- weird colour
The article you cite is out-dated. ImageMagick handles the expanded range of Photo CD images properly. Download and convert http://tedfelix.com/PhotoCD/BlownJohn.pcd to verify:
- convert 'BlownJohn.pcd[4]' -colorspace sRGB BlownJohn.jpg
Re: Covert PhotoCD to Jpeg -- weird colour
Is the colorspace suppose to be RGB or sRGB? The output difference is so drastic.
Using RGB gives the blown highlights problem but it is OK for other correctly exposed images.
Using sRGB darkens and saturates the BlownJohn image. For other correctly exposed images, they become very dark.
Please let me know if you like to have another PhotoCD file for testing. I can email one to you.
Using RGB gives the blown highlights problem but it is OK for other correctly exposed images.
Using sRGB darkens and saturates the BlownJohn image. For other correctly exposed images, they become very dark.
Please let me know if you like to have another PhotoCD file for testing. I can email one to you.