Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am using ImageMagick (under Linux) to make a 3x3 montage of nine PNGs which I have, and label them. Desired is PDF output with vectorized fonts as the labels. I use this command:

montage -label '%t' *.png -geometry +3+3 out.pdf

The result looks exactly like I want it to be, but the labels of the panels are actually bitmaps! I.e. if I zoom into the PDF I can see that the label text consists of pixels, and I can not further search for the labels etc in the resulting PDF.

Is there any way how I can make it so that the labels are vectorized, proper fonts in the PDF? If yes, how do I specify this?

share|improve this question

1 Answer 1

up vote 6 down vote accepted

I don't think this is possible with ImageMagick as it does not produce true vector graphics. From the ImageMagick site (http://www.imagemagick.org/Usage/formats/#vector):

In other words, any output from IM will never be a true vector format. While it can convert its internal raster format into a vector format file, the result is only a superficial vector image wrapper around an image in raster format. And unless the raster image is defined properly (at the right resolution) for the output device, the result will not be particularly good. Unfortunately new users to IM do not know anything about this. They see IM as a converter that can convert say PDF to Postscript, producing images with 'blocky' aliasing effects, 'washed out' colors, or blurry images that just do not look good at all, on the intended output device.

If you want to investigate 'vectorizing' the whole output one of the examples on the ImageMagick site suggests using Abobe software or AutoTrace (which is open-source).

share|improve this answer
    
Thanks for the answer. I understand, though I still think that a vectorization wrt to fonts in ImageMagick could be possible, in principle. Thy just didn't implement it. But it's not like it would be impossible. –  gojira Sep 26 '12 at 15:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.