Convert PDF with font-size changes with density
Posted: 2011-04-18T02:01:46-07:00
Hi everyone,
I try to convert single pdf file with several traditional chinese fonts to image (png,jpg) with convert command.
Sample file: test.pdf
Some output characters has smaller font size than original document, as shown in the thumbnail images below:
Density 100
Density 300
Density 500
Density 700
I try to increase the density parameter and the characters grow larger. They grow to normal size when density reach 700.
However, as density increases, the conversion time becomes lengthy (> 3 sec per page).
I am using ImageMagick 6.6.5 Q 16 on windows 7 (and windows XP), using convert command on command prompt.
Anyone has idea to convert correctly, or shorten the conversion time? Thanks!
Dennis
I try to convert single pdf file with several traditional chinese fonts to image (png,jpg) with convert command.
Sample file: test.pdf
Code: Select all
convert -density 300 test.pdf test.png
Density 100
Density 300
Density 500
Density 700
I try to increase the density parameter and the characters grow larger. They grow to normal size when density reach 700.
However, as density increases, the conversion time becomes lengthy (> 3 sec per page).
I am using ImageMagick 6.6.5 Q 16 on windows 7 (and windows XP), using convert command on command prompt.
Anyone has idea to convert correctly, or shorten the conversion time? Thanks!
Dennis