Package: libpdf-api2-perl
Version: 0.72.003-1
Severity: normal

Some PNMs are not embedded properly. See the script below and sample PNM,
which produces a blank PDF.

#!/usr/bin/perl -w
use strict;
use PDF::API2;
my $pdf = PDF::API2-> new(-file => 'test.pdf');
my $page = $pdf-> page;
my $gfx = $page->gfx;
my $img = $pdf->image_pnm('test.pnm');
$gfx->image($img);
$pdf->save;
$pdf->end();

Attachment: test.pnm.bz2
Description: BZip2 compressed data

Reply via email to