top of page
Writer's pictureFrank Xue

VeryUtils JBIG2 Encoding and Decoding SDK Library

VeryUtils JBIG2 Encoding and Decoding SDK Library can be used to encode black and white image data into JBIG2 compressed data, and also decode the JBIG2 compressed data to Windows DIB data, it's a great SDK Library to compress image files to JBIG2 data stream and decompress JBIG2 data to bitmap data.


JBIG2 encodes bi-level (1 bpp) images using a number of clever tricks to get better compression than G4. developed in C/C++.

JBIG2 is an image compression standard for black-white images. It is suitable for both lossless and lossy compression. JBIG2 compression can compress a black-white image 2-5 times more effectively than CCITT Fax Group 4 compression. Now the JBIG2 compression is very popular in PDF documents: most of scanners generate PDF documents with JBIG2 images, many PDF editors use JBIG2 compression decoder and encoder, all PDF compressors use JBIG2 compression viewer and encoder.



With this VeryUtils JBIG2 Encoding and Decoding SDK Library you can:

* Compress image files with JBIG2 technology to save the disk space and fast web transfer.

* Generate JBIG2 data stream from black and white TIFF, PNG, BMP, etc. formats.

* Generic region encoding automatically.

* Perform symbol extraction, classification and text region coding.

* Perform refinement coding and Compress multipage documents.

* Lossless JBIG2 Encoder Windows Dynamic Libary: bases on Jbig2, but easily integrate with your own application.

* Developed by C/C++, the processing speed is very fast.

* JBIG2 codec algorithm has been developed in full compliance with the official ISO/IEC 14492 specification.

* Decode JBIG2 image stored in a single or multipage JBIG2 file and PDF image-resource.

* Encode JBIG2 image and save it to a single or multipage JBIG2 file and PDF image-resource.

* Use the JBIG2 compression instead of CCITT4 to compress PDF image-resources for decreasing size of PDF document.

* Easy to encode and decode black-and-white images.

* Great capabilities to compress all the popular image formats into JBIG2 images.

* Easy to read the a large amount of textual and halftone data of bi-level JBIG2 images.

* Load and save JBIG2 compressed image data in DIB and TIFF formats.


Encoding statistics of VeryUtils JBIG2 Encoding and Decoding SDK Library

Document: 2550x3300, 1-bit, 300 dpi, 121 pages, text (TIFF 6 specification)

Uncompressed: 122 Mb

CCITT Group IV: 3.87 Mb

JBIG2 lossless: 1.15 Mb

JBIG2 lossy: 0.55 Mb

PDF with JBIG2 lossless: 1.4 Mb

PDF with JBIG2 lossy: 0.6 Mb


This JBIG2 Image Encoder and Decoder is a 100% pure C/C++ SDK Library for the JBIG2 data format. It offers the ability to allow developers to add JBIG2 image rendering capabilities to their own applications, through a simple and easy to use API. In its simplest form it allows developers to load in a JBIG2 encoded data stream and convert that into a Buffered Image.


JBIG2 is an image compression standard for bi-level images, developed by the Joint Bi-level Image Experts Group. It is suitable for both lossless and lossy compression. According to a press release[1] from the Group, in its lossless mode JBIG2 typically generates files one third to one fifth the size of Fax Group 4 and one half to one quarter the size of JBIG, the previous bi-level compression standard released by the Group. JBIG2 has been published in 2000 as the international standard ITU T.88[2], and in 2001 as ISO/IEC 14492[3].


VeryUtils JBIG2 Encoding and Decoding SDK Library Relevant Files:

----------------------------------------

jbig2en.h //JBIG2 Encode and Decode Library Header File

jbig2en.dll //JBIG2 Encode and Decode DLL Library

jbig2en.lib //JBIG2 Encode and Decode .lib file

----------------------------------------


JBIG2 Decoding and Encoding SDK Redistributable files,

----------------------------------------

jbig2en.dll

----------------------------------------


JBIG2SDK functions:

----------------------------------------

typedef struct JBIG2DATAtag {

int width;

int height;

int length;

char *data;

} JBIG2DATA, *LPJBIG2DATA;


DllExport LPJBIG2DATA WINAPI JBIG2SDK_ConvertBWTIFF2JBIG2Data(const char *lpInputTIFF);

DllExport LPJBIG2DATA WINAPI JBIG2SDK_ConvertDIB2JBIG2Data(HDIB hDIB);

DllExport HDIB WINAPI JBIG2SDK_ConvertJBIG2Data2DIB(LPJBIG2DATA lpJBIG2Data);

DllExport VOID WINAPI JBIG2SDK_FreeJBIG2Data(LPJBIG2DATA lpJBIG2Data);

DllExport VOID WINAPI JBIG2SDK_FreeHDIBData(HDIB hDIB);

DllExport VOID WINAPI JBIG2SDK_SetLicenseKey(const char *lpCode);

----------------------------------------


If you have any question for this VeryUtils JBIG2 Encoding and Decoding SDK Library,

please feel free to let us know, we are glad to assist you asap.


1 view0 comments

ความคิดเห็น


bottom of page