G'day djlerman,

It would be useful if you supplied some simple code demonstrating the generation of these errors. Also, please let us know the version of PDF::API2 that you are using; other similar information, such as Perl version and OS may be helpful.

I had a look at the source: https://metacpan.org/release/SSIMMS/PDF-API2-2.042/source/lib/PDF/API2/Resource/XObject/Image/PNG.pm. The line numbers you show don't seem to fit the messages (so you're probably not using the latest 2.042 version).

I did note at lines 84-89:

# BPC = bits per component, and may be 1, 2, 4, 8, or 16 per the PNG s +pec. # Color types may further restrict the available options. Additionall +y, # this module doesn't currently support 16-bit components. if ($bpc == 16) { die '16-bit colors/transparency are not supported.'; }

That was the only thing that matched a search for "not supported". Have a look around your own version of the source code: searching for "not supported" or "Unsupported" may shed some light on the problem.

— Ken


In reply to Re: Image errors with PDF::API2; by kcott
in thread Image errors with PDF::API2; by djlerman

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.