You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
opj_decompress currently decodes the whole image (or the whole decode area) and pass it directly to the output image driver. This strategy is limited by the amount of available RAM and prevents decoding arbitrarily big images (#1010 removes the limitation to 4 billion pixels). Beyond a given threshold, it would be good if opj_decompress could proceed by chunks to read and write. For example for a tiled image with tiles of reasonable size, reading tile by tile would be appropriate. Or for a single-tiled image reading by chunks of several lines (especially once #1010 improvements are merged).
This improvement requires significant changes in the imagetoXXX() functions. Typically they shouldn't receive a opj_image_t* but drives instead the decompression themselves, taking into account the input image structure and their own constraints (in TIFF, you can generate a tiled image or write strips in arbitrary order, but in PNG you need to proceed lines by lines starting by the top).
The text was updated successfully, but these errors were encountered:
opj_decompress currently decodes the whole image (or the whole decode area) and pass it directly to the output image driver. This strategy is limited by the amount of available RAM and prevents decoding arbitrarily big images (#1010 removes the limitation to 4 billion pixels). Beyond a given threshold, it would be good if opj_decompress could proceed by chunks to read and write. For example for a tiled image with tiles of reasonable size, reading tile by tile would be appropriate. Or for a single-tiled image reading by chunks of several lines (especially once #1010 improvements are merged).
This improvement requires significant changes in the imagetoXXX() functions. Typically they shouldn't receive a opj_image_t* but drives instead the decompression themselves, taking into account the input image structure and their own constraints (in TIFF, you can generate a tiled image or write strips in arbitrary order, but in PNG you need to proceed lines by lines starting by the top).
The text was updated successfully, but these errors were encountered: