Skip to content
Jarek Sacha edited this page Feb 15, 2021 · 3 revisions

IJP ImageIO Plugin Bundle

ijp-imageio plugins add to ImageJ support for additional image file formats and their variants. Most important additions include:

  • Extended TIFF support
    • Reading of compressed and tiled TIFF files
    • Saving as compressed TIFF; supports Packbit, LZW, JPEG, ZLib, Deflate, and EXIF JPEG compression.
    • Saving of binary images in 1 bit compressed TIFF format. Compared to saving as uncompressed 8bit images can get 1:100 or higher compression ratios.
  • Reading of 16bit PNG images (without conversion to 8 bit)
  • Saving in PNG format, includes support for compression.
  • Saving in JPEG2000 and PNM format (with additional codecs).
  • Image I/O plugins can read/write image calibration information from TIFF files. Standard TIFF image calibration tags are supported (X_RESOLUTION, Y_RESOLUTION, RESOLUTION_UNIT).

IJP ImageIO makes use of Java ImageIO codecs.

Plugins and Locations

IJP ImageIO plugins are inserted into ImageJ menu in the following locations.

File > Save As

  • PNG ...: Shortcut for saving images in PNG format using default compression level.
  • PNM ...: Shortcut for saving images in PNM format.
  • Compressed TIFF ...: Shortcut for saving images in TIFF format. Option dialog allows selection of compression type. Binary images are auto detected and saved in 1 bit format significantly increasing compression ratio.

Plugins > Image IO

  • Open: shows standard ImageJ open dialog and reads selected file in any of the file formats supported by ImageIO.
  • Open with preview: shows a custom open dialog with an image preview. File filter can be used to limit files to a particular format. Image files are filtered by checking a magic number in file header; file name extension is ignored.
  • Save as: shows custom save dialog. Selected file filter determines format used to save an image. Depending on the selected file format, the user can select additional save options, for instance, image compression type.

Help > About Plugins

  • Image IO ...: Information about Image IO plugin bundle similar to this page.
  • IJP-ImageIO readers & writers ... list available codecs

Installation

  1. Download the latest binary release of ijp-imageio from Releases page: ijp_imageio-<version>.jar

  2. Copy ijp_imageio-<version>.jar to ImageJ plugins directory. You can find location of ImageJ plugins directory by selecting "Plugins">"Utilities">"ImageJ Properties", look for value of tag "plugins dir" near the bottom of the displayed Properties' window.

  3. Restart ImageJ to load newly installed plugins.