Bug#514380: libpdf-api2-perl: corrupts certain PNMs when embedding them

Jeff jffry at posteo.net
Fri Jun 19 12:12:32 BST 2020


Investigating this, the corruption depends upon the geometry of the
image - it is possible to crop the image to a size that is not corrupted
in the PDF.

e.g. the pnm after this cropping option is not corrupted:

convert corrupt_no_compression.pnm -crop 790x400+500+900
corrupt_no_compression_cropped.pnm

but cropping only the width, the corruption is still there, but less:

convert corrupt_no_compression.pnm -crop 790x3506+500+0
corrupt_no_compression_cropped.pnm

equally, cropping only the height, the corruption is also still there,
in a similar magnitude to the original:

convert corrupt_no_compression.pnm -crop 2480x400+0+900
corrupt_no_compression_cropped.pnm

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20200619/74fe99fb/attachment.sig>


More information about the pkg-perl-maintainers mailing list