Skip Menu |

This queue is for tickets about the PDF-API2 CPAN distribution.

Report information
The Basics
Id: 84665
Status: open
Priority: 0/
Queue: PDF-API2

People
Owner: Nobody in particular
Requestors: mjas [...] itu.dk
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: g4 compression feature request
Date: Tue, 16 Apr 2013 14:42:23 +0200
To: <bug-PDF-API2 [...] rt.cpan.org>
From: "Mark J. Nelson" <mjas [...] itu.dk>
Hi, A feature request, forwarded from the Debian bug tracker: Some scan/fax users of PDF::API2 run into an unsupported type of compression. In particular, in PDF::API2::Resource::XObject::Image::TIFF, if(ref($tif->{imageOffset})) { die "chunked ccitt g4 tif not supported."; } I'm not familiar enough with what would be needed to add support to know how reasonable a request this is, however. Debian bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549653 Best, Mark -- Mark J. Nelson IT University of Copenhagen http://www.kmjn.org/
Subject: Update CCITT Group 4 compression support in TIFF decoder
This needs some more research. Based on the Debian bug (which claims that G3 is being used, not G4), the error message may be incorrect. Regardless, adding support requires either expanding the CCITT decoder or replacing it with another module. A quick search of CPAN didn't turn up anything (except maybe the Imager module). See the following URLs for Group 4 specification details: http://www.digitalpreservation.gov/formats/fdd/fdd000136.shtml http://www.itu.int/rec/T-REC-T.6-198811-I/en The TIFF specification is here: https://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf
FYI, this is fixed in PDF::Builder (requires use of optional Graphics::TIFF library)