Text is not readable on jpeg file when RESIZE option is used

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
Carter J
Posts: 116
Joined: 2013-12-19T02:20:09-07:00
Authentication code: 6789

Text is not readable on jpeg file when RESIZE option is used

Post by Carter J »

Hi,

I have used following command for converting the PDF file to a JPG file:
convert C:\Users\DesktopUser\PDF\PDFFILE.pdf[0] -resize 800X600 C:\Users\DesktopUser\JPG\JPGFILE_withResize.jpg

On the output jpg file JPGFILE_withResize.jpg the text is not readable.

I am using ImageMagick-6.5.4. I have also tried this with latest version of ImageMagick i.e., 6.8.8 . In both the cases I was not able to read the text.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Text is not readable on jpeg file when RESIZE option is

Post by magick »

  • convert -density 300 C:\Users\DesktopUser\PDF\PDFFILE.pdf[0] -resize 800X600 C:\Users\DesktopUser\JPG\JPGFILE_withResize.jpg
Carter J
Posts: 116
Joined: 2013-12-19T02:20:09-07:00
Authentication code: 6789

Re: Text is not readable on jpeg file when RESIZE option is

Post by Carter J »

Thanks for the reply @magick, I tried this also. This also not worked.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Text is not readable on jpeg file when RESIZE option is

Post by magick »

Its possible the PDF is rasterized and is not a vector PDF. The density option only works if the PDF is vectors.
Post Reply