Heyas! Long time no see! I have a small problem with understanding CPAN errors which seem to happen more than successful installs. I just need to make my Perl Tk application make a nice PDF output using a simple PDF module that is easy to install for my friends. So far PDF::API2 was the only one that actually installed via CPAN. and I feel like it is popular enough to be in peoples precompiled software repositories in their OS's. Anyways, my question for you guys is:
Can i place an image into my media area without it stretching out and blurring?? I create my page, then i create my image handler, then gfx(), then put the image into the gfx ad absurdum.
$page = $pdf->new;
$mylol = $pdf->image_png("lmfao.png");
$gfx = $pdf->gfx();
$gfx->image($mylol, <posx>, <posy>);
...
and the image stretches out really bad from end to end :(
Thanks in Advance!
~Trevelyn.
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.