Bug 91261

Summary: please clarify in man page whether pdfimages is lossless if using -all option
Product: poppler Reporter: josch <j.schauer>
Component: utilsAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED NOTABUG QA Contact:
Severity: enhancement    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description josch 2015-07-08 06:56:24 UTC
Hi,

could it be that pdfimages is able to lossless extract images from pdf if the -all option is given? If so (or if not so), could you please clarify that in the pdfimages man page?
Comment 1 Adrian Johnson 2015-07-08 09:30:24 UTC
Some of the pdf image formats are not lossless eg JPEG, JPEG2000. If you mean extract the image exactly as it is stored - this is already documented:

-all   Write JPEG, JPEG2000, JBIG2, and CCITT images in their native format. CMYK files are written as  TIFF files. All other images are written as PNG files. This is equivalent to specifying the options -png -tiff -j -jp2 -jbig2 -ccitt.

The -j, -jp2, -jbig2, and -ccitt options all state: "The XXX file is identical to the XXX data stored in the PDF."

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.