JBIG2 Pdf Compression is Lossless?

Discussions about JBIG2 format support.
Post Reply
UgurKurkcu
Posts: 2
Joined: Wed Jun 19, 2013 9:50 am

JBIG2 Pdf Compression is Lossless?

Post by UgurKurkcu » Wed Jun 19, 2013 10:16 am

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)

User avatar
Loïc
Site Admin
Posts: 5524
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: JBIG2 Pdf Compression is Lossless?

Post by Loïc » Wed Jun 19, 2013 10:25 am

Hello,

it's lossless.

Kind regards,

Loïc

UgurKurkcu
Posts: 2
Joined: Wed Jun 19, 2013 9:50 am

Re: JBIG2 Pdf Compression is Lossless?

Post by UgurKurkcu » Fri Jun 21, 2013 4:33 pm

thanks.

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests