Page 1 of 1

JBIG2 Pdf Compression is Lossless?

Posted: Wed Jun 19, 2013 10:16 am
by UgurKurkcu
Hello,

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)

Re: JBIG2 Pdf Compression is Lossless?

Posted: Wed Jun 19, 2013 10:25 am
by Loïc
Hello,

it's lossless.

Kind regards,

Loïc

Re: JBIG2 Pdf Compression is Lossless?

Posted: Fri Jun 21, 2013 4:33 pm
by UgurKurkcu
thanks.