PdfFormatProvider: Invalid document is generated when exporting PNG image SMask with non-default ImagesDeflaterCompressionLevel
Exporting documents that contain PNG images SMask and ImagesDeflaterCompressionLevel is set to a non-default value may produce a document in which those images are not processed correctly by Adobe reader.
Posted on:10 Jul 2019 15:52
The research on this issue showed that Adobe Reader has issues with opening some specific pictures that are written with higher level of compression. Currently, we are not able to relate this behavior to any part of our compression logic, as all other pdf tools that we tested manage to handle those documents. As a workaround, we suggest that lower levels of compression should be used in those cases. For instance, ImagesDeflaterCompressionLevel = 3. Only negligible difference in size is expected for most documents.