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.
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.
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.
To disable image tiling, make sure that ReferenceTileWidth and ReferenceTileHeight are equal or greater than the image width and height, respectively.
It is best to use one of the following progression orders:
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. |
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET