Page 1 of 1

JPG images are not loading in the IE generated from the PDF

Posted: 2009-12-20T08:14:12-07:00
by phanimohan
Hello All,
I did the installation of ImageMagick successfully. But i have a problem. I was generated sample.jpg from the sample.pdf using ' convert ' function. Those images are perfectly loading in the FireFox. But i can not see them in the Internet Explorer. I am getting cross mark in the browser (IE)

Can any one help me on this please...

Many Thanks,
Phani Mohan. Y

Re: JPG images are not loading in the IE generated from the PDF

Posted: 2009-12-20T15:01:34-07:00
by fmw42
Are your jpgs in cmyk or rgb? Do they have transparency. I seem to recall that IE may not handle cmyk very well.

identify -verbose image.jpg

see what the colorspace is or if transparency?

Be sure to upgrade IM and libjpg delegate library.

Re: JPG images are not loading in the IE generated from the PDF

Posted: 2009-12-21T10:06:49-07:00
by phanimohan
Thanks for the quick responce....

but how can i know in which format my images files are...?whether they are in cmyk or in rgb? Is there any extra parameter to convert pdf to jpg format images with rgb effect...


Thanks,
Phani Mohan. Y

Re: JPG images are not loading in the IE generated from the PDF

Posted: 2009-12-21T10:29:49-07:00
by fmw42
as I said if you type

identify -verbose image.jpg

you can see if cmyk or rgb from the colorspace

or just use -colorspace to ensure that it is converted to rgb

convert -colorspace RGB image.pdf image.jpg

or

convert image.pdf -colorspace rgb image.jpg

not sure which, so try both

Re: JPG images are not loading in the IE generated from the PDF

Posted: 2009-12-21T11:00:36-07:00
by phanimohan
Thanks for your great help...

I got solved my problem...


Thanks,
Phani Mohan. Y

Re: JPG images are not loading in the IE generated from the PDF

Posted: 2009-12-21T12:22:28-07:00
by fmw42
what was the solution?

Re: JPG images are not loading in the IE generated from the PDF

Posted: 2009-12-21T20:45:58-07:00
by phanimohan
The same which you given...but i used TrueColor as the option

convert Brochure_a.pdf -type TrueColor Brochure_a.jpg

Thanks,
Phani Mohan. Y