Skip to content

🖼️ JAI Core standalone Java ImageIO SPIs (bmp, pnm, raw, tiff. etc.)

License

Notifications You must be signed in to change notification settings

umjammer/jai-imageio-core

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Release Java CI CodeQL Java Parent

jai-imageio-core (standalone)

NOTE: This is a fork of the original jai-imageio-core (which is no longer maintained).

This project adds read/write support for the following file types to Java's ImageIO:

  • wbmp
  • bmp
  • pcx
  • pnm
  • raw
  • tiff
  • gif (write)

The classes of this projects are not generally used directly, but through the SPI plugin mechanism of ImageIO. See the ImageIO guide for details.

This project is called 'standalone' as unlike the original jai-imageio-core it has removed dependencies to jai-core packages (javax.media.jai) and JPEG 2000 (jj2000). This version also does not include the C implementations from libJIIO, meaning that this version is platform independent and fully redistributable under the 3-clause BSD license in LICENSE.txt (and thus is Apache and GPL compatible).

JPEG 2000 support is available as an additional module jai-imageio-core as it has a different (non-GPL compatible) license.

If you are not concerned about GPL compatibility or source code availability, you might instead want to use https://github.com/geosolutions-it/imageio-ext/ which is actively maintained and extends the original imageio with many useful features, but depends on the binary distribution of jai_core.

Install

https://jitpack.io/#umjammer/jai-imageio-core

Usage

    BufferedImage image = ImageIO.read(Paths.get("/foo/bar.pcx").toFile());

Copyright and licenses

  • Copyright © 2005 Sun Microsystems
  • Copyright © 2010-2014 University of Manchester
  • Copyright © 2010-2015 Stian Soiland-Reyes
  • Copyright © 2015 Peter Hull
  • Copyright © 2015 Yannick De Turck
  • Copyright © 2015 Robin Stevens
  • Copyright © 2015 Mark Carroll

The source code for the jai-imageio-core project is copyrighted code that is licensed to individuals or companies who download or otherwise access the code.

The complete copyright notice for this project is in COPYRIGHT.txt

The source code license for this project is BSD 3-clause with an additional nuclear disclaimer, see LICENSE.txt

Changelog

  • 1.3.1 - Available as OSGi bundle (issue #13). Fixed memory leak in TIFFImageWriter (issue #14).
  • 1.3.0 - Java package changed to com.github.jaiimageio (issue #10). MANIFEST.MF metadata corrected.
  • 1.2.1 - Version 1.2.1 released. Pushing to Maven Central and BinTray. Workaround for OpenJDK8 libjpeg bug (issue #6). groupId changed from net.java.dev.jai-imageio to com.github.jai-imageio. Fix for PNM ASCII write (issue #7).
  • 1.2-pre-dr-b04-2014-09-13 - Removed last jpeg2000 plugin. Javadoc now includes overview.
  • 1.2-pre-dr-b04-2014-09-12 - Separated out JPEG 2000 support from jai-imageio-core for licensing reasons. Re-enabled junit test (issue #5).
  • 1.2-pre-dr-b04-2013-04-23 - Updated README and pom, newer maven plugins, removed broken links to dev.java.net. Javadocs included and published at http://jai-imageio.github.com/jai-imageio-core/
  • 1.2-pre-dr-b04-2011-07-04 - Avoid Maven many build warnings. Fixed character set.
  • 1.2-pre-dr-b04-2010-04-30 - Initial Maven version, based on CVS checkout from dev.java.net, but with Maven pom.xml and only code covered by open source license.

More info