Acrobat SDK Export with CCITT
I have created an Acrobat Plugin using Visual Studio 2013 and C++.
In that plugin, I am doing the following:
- Create a new PDF document
- Use AVConversionConvertToPDF and PDEElementCopy to create a PDEImage ( I repeat for 2 images: a 1-bit monochrome TIF and an 8-bit grayscale TIF)
- Use PDEContentAddElem to add the images to a new document.
- Save document
The saved document has the 2 images with the proper values (bit depth, dimensions), except for 'Filters'. The 1-bit monochrome image shows JBIG2 as a filter, but I want to use CCITT.
Can I change the compression for a PDEImage element before I save the PDF file?
Note: I am not using PDEImageCreate because AVConversionConvertToPDF handles all types of image formats already. The resulting PDF file is fine, except for the image's compression.
