Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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 size (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 strongly recommended using one of the following progression orders:

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

Note:
To save or convert to J2K files with large dimensions (above 5000 lines), use "J2kLargeImageSave" Demo. This demo will save large images without excessive memory, disc 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.