convert: encapsulated postscript font size problem

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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

The display program uses the server DPI which is generally around 90 whereas the default DPI is 72. Try this command:
  • convert -density 90 test.eps -quality 100 test.jpg
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony »

The basic problem is that while 'display' knows what resolution (or density) it is outputing to (the screen, so get resolution frm the X server), the 'convert' command does not. You may be outputing for the screen (using a default 72 dpi), a modren display (usabbly 90 dpi), a dotmatrix printer (120dpi) or even a postscript printer (often 600dpi).

Because of this you need to tell IM what resolution you intend to work with.

See IM Examples, Actual Font Size, Resolution and Pointsize
http://www.cit.gu.edu.au/~anthony/graph ... #pointsize
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply