Hi all
i am new to imagemagick and ghostscript
i am using imagemagick 6.5.4 and ghostscript 8.64 to convert the pdf to jpg and everything looks fine.
convert -density 150 -quality 85% -colorspace cmyk -type truecolor pdf jpg
the only probelm is there is image and text in the orginal pdf file. in the converted jpg file, the image is too large and cover the text.
does anyone can help me to fix this problem. Thanks a lot
issue of converting pdf to jpg
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: issue of converting pdf to jpg
is your pdf in cmyk or are you trying to create a cmyk jpg? are you trying to make the jpg with 150 dpi?
your syntax may be wrong? see http://www.imagemagick.org/Usage/basics/#why
most of the time you use
convert input.pdf options output.jpg
with cmyk pdfs, you may have change colorspace to rgb, so
convert -colorspace rgb input.pdf options output.jpg
which is done when reading in the input, so the -colorspace comes first.
You might post a link to your image so others can view it and test with it.
see also http://www.imagemagick.org/Usage/formats/#pdf
your syntax may be wrong? see http://www.imagemagick.org/Usage/basics/#why
most of the time you use
convert input.pdf options output.jpg
with cmyk pdfs, you may have change colorspace to rgb, so
convert -colorspace rgb input.pdf options output.jpg
which is done when reading in the input, so the -colorspace comes first.
You might post a link to your image so others can view it and test with it.
see also http://www.imagemagick.org/Usage/formats/#pdf
Re: issue of converting pdf to jpg
Hi fmw42
thanks a lot for your reply
actully i use this command
convert -density 150 -quality 85% -colorspace cmyk -type truecolor pdf jpg
and created the jpg file and looks fine
the only problem is
there is text and image in the pdf file and
the image in the converted jpg is larger than the image in the pdf and conver the text.
i can send the pdf to u if you give me ur email address
Thanks a lot
thanks a lot for your reply
actully i use this command
convert -density 150 -quality 85% -colorspace cmyk -type truecolor pdf jpg
and created the jpg file and looks fine
the only problem is
there is text and image in the pdf file and
the image in the converted jpg is larger than the image in the pdf and conver the text.
i can send the pdf to u if you give me ur email address
Thanks a lot
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: issue of converting pdf to jpg
if you cannot post a link to your file, then send to fmw at alink dot net
Re: issue of converting pdf to jpg
hi fmw42
i fix this problem.
this pdf is originally created in Illustrator and was saved as a Acrobat
5 version PDF.
again, Thanks a lot for your help
i fix this problem.
this pdf is originally created in Illustrator and was saved as a Acrobat
5 version PDF.
again, Thanks a lot for your help