Converting an unknown colorspace to Adobe 1998

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
stevemarsel

Converting an unknown colorspace to Adobe 1998

Post by stevemarsel »

Is it possible to convert an image of an unknown color space into Adobe 1998? What happens if it's already in Adobe 1998?

Thanks in advance!

Steve
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Converting an unknown colorspace to Adobe 1998

Post by magick »

Two color profiles are required for a colorspace transform. If the original image does not have a color profile associated with it, the -profile option attaches the profile but does not transform the colorspace. If you specify two color profiles that are the same, the image pixels are not modified.
stevemarsel

Re: Converting an unknown colorspace to Adobe 1998

Post by stevemarsel »

magick wrote:Two color profiles are required for a colorspace transform. If the original image does not have a color profile associated with it, the -profile option attaches the profile but does not transform the colorspace. If you specify two color profiles that are the same, the image pixels are not modified.


OK, Let me re-phrase that. Is it possible to convert from a colorspace to Adobe 1998?

2nd. (I'm thinking several images uploaded from several sources and locations) If the colorspace is already in Adobe 1998, is it possible for ImageMagick to recognize that and skip the conversion step of an overall larger task and multi-step task? I suppose you can tell by now, I don't write code.

Thanks for your patience!

Steve
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Converting an unknown colorspace to Adobe 1998

Post by magick »

Post Reply