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

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
phanimohan

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

Post 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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

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

Post 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.
phanimohan

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

Post 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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

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

Post 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
Last edited by fmw42 on 2009-12-21T12:23:06-07:00, edited 1 time in total.
phanimohan

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

Post by phanimohan »

Thanks for your great help...

I got solved my problem...


Thanks,
Phani Mohan. Y
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

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

Post by fmw42 »

what was the solution?
phanimohan

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

Post 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
Post Reply