Compressing images for efficient JPIP streaming

To save JPIP browse-efficient JPEG2000 files, use the default J2K options.

If other than the default settings are desired here are a few notes.

  1. Try to use precincts rather than tiles. (Precincts are like tiles but they are in compressed/wavelet domain). Unlike tiles, they produce better compression and no artifacts.

  2. Use any precinct options other than CodecsJpeg2000PrecinctSize.Full. It is preferable to use one of the following

    The larger the precinct size the less efficient it is. However, using very small precinct sizes (particularly " CodecsJpeg2000PrecinctSize.Uniform64") will cause some initial delay on the server side.

  3. To disable image tiling, make sure that ReferenceTileWidth and ReferenceTileHeight are equal or greater than the image width and height, respectively.

  4. It is best to use one of the following progression orders:

  5. The number of resolutions should be 5 or more, depending on the dimensions of the image. MaximumDecompressionLevels = 5

Note:
To save or convert to J2K files with large dimensions (above 5000 lines), use the "J2kLargeImageSave" Demo. This demo will save large images without excessive memory, disk or CPU usage. Unlike other demos which load the entire image/bitmap to memory and then saves it, this demo loads and saves one line at time.
Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Imaging, Medical, and Document