Please choose a menu option

RSS feed? News:

01 Mar 10 Version 4.01 build 15 released Turn pages from all corners, First implemetation of Java3D, Linearized PDF detection and more ...

04 Feb 10 Major new version New look, new page turning mode, enhanced search, code tidy up and much more...

15 Jan 10 Version 3.92 build 40 released Improvements to PageFlow mode and bug fixes for client issues. More Info...

8 Dec 09 Version 3.91 build 80 released Speed enhancements to image printing, optimisations for PDFs reusing XObjects and general improvements. More Info...

20 Nov 09 Version 3.91 build 60 released Enhancements to PageFlow mode, Applet regression fixed and improvements to non embedded text rendering. Read More ...

05 Nov 09 Version 3.91 build 15 released Enhancements to PageFlow viewing mode including reflection effect, improvements to Viewer configuration and general bug fixes. Read More ...

23 Sep 09 PDF Java Ebook Solution IDRsolutions is pleased to announce a new free service which embeds PDF's inside our viewer. A must for e-book authors and distributors. Read More ...

JPedal JBIG2 Image decoder

The JPedal JBIG2 Image Decoder is a 100% pure Java image decoder for the JBIG2 file format. The decoder takes the JBIG2 image processing technology developed for the JPedal PDF renderer and makes it available as a generic library for more general usage.

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 datastream and convert that into a BufferedImage.

All updates are announced on the RSS feed. Join the RSS feed and keep updated.

JAI plug-in

The JPedal JBIG2 Image Decoder also acts as a plug-in for the ImageIO framework. Including the jbig2.jar on the classpath seamlessly enables the decoding of JBIG2 images with the single line:

BufferedImage biImage = ImageIO.read(new File("C:/file.jbig2"));

For a complete example using the JAI plug-in, a code example is included in:

Licensing

The software is available under the BSD license. Support is available on a commercial basis.

Downloading the Decoder

The JPedal JBIG2 Image Decoder is provided as a standalone jar file along with the source code.

Click here to download latest version of the compiled jar.

Click here to download latest version of the source code

Running the Demo

The decoder can be run by double-clicking on the jar (if your machine is correctly setup) or using the command java -jar jbig2.jar from the command-line.

Both should bring up a demo window looking like this:

PDF viewer

Using the Decoder in your code

The library can used by adding the jar file to the classpath. A code example is included in:

 

PDF viewer


PDF viewer