PDF to JPEG, fonts is begger

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
spyfox
Posts: 1
Joined: 2012-04-28T02:40:33-07:00
Authentication code: 13

PDF to JPEG, fonts is begger

Post by spyfox »

Hello!
I have problem with PDF to jpeg conversion.
The fonts in JPG is bigger, than in real PDF file:
JPG:
Image

PDF:
http://exg-studio.com/pdf_example.pdf

What can I do? :)
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: PDF to JPEG, fonts is begger

Post by anthony »

The JPEG is just a raster rendering of the source vector image (PDF). It does no have 'fonts' in the image, only image!

The problem here is the conversion from PDF to a raster (array of pixels) image. Specifically ghostscript, the fonts it uses, its density (resolution), and how the PDF scales its internal raster image (the background).

That is quite a complex relationship, and PDF's are often not designed well to cope with this.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply