We have an Windows app. for tiff to pdf converting and we use PdfCompressionCCITT4 for bitonal images.
We test all pdf compression types. according to file size, it seems to PdfCompressionCCITT4 and PdfCompressionFlate are same. But PdfCompressionJBIG2 is a lot smaller from these two compresion types.
Is PdfCompressionJBIG2 lossy or lossless compression?
Code: Select all
//Loading GdPicture image(tiff)
m_PDF.NewPDF();
m_PDF.EnableCompression(true);
m_PDF.SetCompressionForBitonalImage(PdfCompression.PdfCompressionCCITT4);
//tiff to pdf (save pdf file from single page tiff or multipage tiff)