chika Chika Emebo is part of the IDR Solutions sales and marketing team. She researches and creates marketing prospects, as well as strategises and executes sales initiatives.

Are you a Java Developer working with Image files?

Read and write images in Java with JDeli

What is JBIG2?

47 sec read

JBIG2 is a lossless and lossy compression standard for bi-level images like scanned documents, offering high compression ratios by identifying and encoding similar shapes and patterns efficiently. It is often used for compressing scanned documents by encoding similar shapes and patterns.

What does JBIG2 stand for?

JBIG2 stands for Joint Bi-level Image Experts Group.

What is the difference between JBIG and JBIG2?

JBIG2 is a more advanced version of JBIG, offering improved compression efficiency, broader image support, and more improved features including progressive transmission and lossy compression. JBIG is also mainly used for bi-level images whereas JBIG2 supports grayscale and colour images, in addition to bi-level.

How does JBIG2 compress data?

JBIG2 achieves data compression by using symbol substitution. Additionally, it encodes the image data compactly using arithmetic coding. Overall, JBIG2 focuses on identifying and encoding repetitive elements in bi-level images to achieve high compression ratios.

How do I use JBIG2?

JBIG2 is mainly used for lossless compression of bi-level images, resulting in smaller file sizes without sacrificing image quality. It is often used for compressing scanned documents within PDF files, optimising efficient storage and transmission while maintaining image quality. It is also widely used in document management systems for organisations handling large amounts of scanned paperwork. JBIG2 is also used as a tool for preserving historical documents and manuscripts in digital formats.



Find out how to read and write images files in Java with JDeli:

Read: BufferedImage image = JDeli.read(streamOrFile);

Write: JDeli.write(myBufferedImage, OutputFormat.HEIC, outputStreamOrFile)

Learn more >>

chika Chika Emebo is part of the IDR Solutions sales and marketing team. She researches and creates marketing prospects, as well as strategises and executes sales initiatives.