ssimms / pdfapi2

Create, modify, and examine PDF files in Perl
Other
15 stars 21 forks source link

Problem rendering TIFF images #73

Open sciurius opened 11 months ago

sciurius commented 11 months ago
use PDF::API2;
my $pdf = PDF::API2->new;
my $page = $pdf->page;
my $gfx = $page->gfx;
my $img = $pdf->image("squirrel.tiff");
$gfx->object( $img, 100, 500, 100, 100 );
$pdf->save("squirrel.pdf");

When applied to the attached TIFF image file, it renders a garbled image. tiff.zip

ssimms commented 10 months ago

Possibly related to the underlying issue in #30, discussed in RT #118047.