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?
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.