I think that this must be simple (if it is possible which I think it must be
from things I have found on various web sites).
I want to use Image:Magick to convert a pdf file to jpg with a better resolution than the standard 72 pixels per inch.
I have tried using (in spite of the fact that the book Graphics for Programming with Perl
by
Verbruggen indicates you cannot do this)
$rc = $img->Set(density => '200');
$rc = $img->Read($pdf_file_full);
This does alter the Pixels per Inch but the picture is worse than when using the standard resolution value.
I have also tried using the Set after reading the image.
This does alter the resolution but the image is exactly the same as with the standard resolution setting.
Is there a Monk who knows how to do this?
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.