Created attachment 40717 [details] [review] patch to add tiff support to pdftoppm This patch adds TIFF support to pdftoppm. It adds a -tiff command line parameter to generate a TIFF file and an optional -tiffcompression parameter to specify the TIFF compression type. The patch creates a TiffWriter subclass of ImgWriter that calls libtiff. configure.ac checks for the presence of libtiff and has a --disable-libtiff flag to disable TIFF support. After applying these patches, you need to run autogen.sh and then a normal make will work.
setOutputFileName is defined but never used?
Sorry about that. Thanks for looking at the patch. You are correct that I never used it. I was going to set the file name that way, but I ended up setting it in init().
Can you please attach a patch without that unused function and based on current git master?
Created attachment 41487 [details] [review] New version of tiff patch, against current git source, without outputfilename I made a new patch against the current git source. I removed the unused setOutputFileName() function, and I removed the outputFileName variable since it is always NULL.
Will be in poppler >= 0.17.0
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.