Page 1 of 1

Problem with GetImageProfile

Posted: 2007-02-20T08:23:14-07:00
by moscovisci
Hello,

I try to obtain the picture profile name.
For that, i use, this function in Php :

Code: Select all

$Profile=MagickGetImageProfile($Image,"ICC");
But this function return nothing. I don't know why.

Same with ImageMagick, i don't know how obtain the picture profile name. I have tried :

Code: Select all

identify -verbose mypicture.eps 
But nothing . I don't have the picture profile name.

I'm french. Sorry for my english.

Re: Problem with GetImageProfile

Posted: 2007-02-20T11:23:02-07:00
by magick
First, ensure your EPS file has an embedded profile. If so, you probably need a more recent version of ImageMagick. Older versions did not recognize profiles embedded in EPS image files.

Re: Problem with GetImageProfile

Posted: 2007-02-21T01:11:51-07:00
by moscovisci
Hello,

Thank you for you answer.

I think i have the last version of ImageMagick installed on my computer. My version of ImageMagick is 6.3.2 Q16.

And I'm sure that my file have an embedded profile ,i know that by opening the file with Adobe Photoshop.

If you have another idea, it will be great because i'm desesperate.

Do you know how obtain the profile name of a picture but just with ImageMagick without Php ?

Re: Problem with GetImageProfile

Posted: 2007-02-21T09:06:08-07:00
by magick
Post a URL to your image so we can inspect it. Also type
  • identify -verbose image.eps
for all the information that ImageMagick knows about your EPS image.

Re: Problem with GetImageProfile

Posted: 2007-02-21T09:24:07-07:00
by moscovisci
Hello,

I have two pictures for you one with an embedded profile and another without.

The picture with an embedded profile :

http://www.gys.fr/513.eps


The picture without :

http://www.gys.fr/507.eps


I would like to obtain as name of profiles something like this : AdobeRGB1998.icm or EuropeISOCoatedFOGRA27.icc.

With Photoshop I see the first EPS have an embedded profile.

Try with this pictures and tell me what you find.

Thank you

Re: Problem with GetImageProfile

Posted: 2007-02-21T12:39:58-07:00
by magick
ImageMagick finds two profiles in your image. The Photoshop and XMP profiles. Its possible there is a color profile embedded in the Photoshop profile. However, ImageMagick treats profiles as blobs and does not dissect them. You can of course extract the profile and use an external process to disassemble a profile.

Re: Problem with GetImageProfile

Posted: 2007-02-22T01:41:40-07:00
by moscovisci
Hello,

How have lets itself to know that my image included two profiles ?

And another question for you it's, how you can disassemble a profile ?

Thank You