Post without Account — your post will be reviewed, and if appropriate, posted under Anonymous. You can also use this link to report any problems registering.
#!/usr/bin/perluse strict;use warnings;use PDF::API2;my $pdf = PDF::API2->new(-file => 'out.pdf');my $page = $pdf->page;$page->mediabox(157, 196);my $imgobj = $pdf->image_tiff('8.tiff');my $gfx = $page->gfx;$gfx->image($imgobj, 0, 0, 157, 196);$pdf->save;$pdf->end;
Just out of interest, is your problem with non-pure-Perl code Windows support or something else?
Grr. git diff does include newly added files, so it's missed half the patch.
$ touch foo/bar $ git add foo/bar .... make changes .... $ git diff