I am trying to use opj_compress binary (release v2.3.1 compiled on Linux CentOS) to compress a big TIFF image (height=73351, width=42454, 4 bands, each band coded with 8 bits per pixel).
In the JP2 file i obtain, only first tiles are correctly encoded, the others are filled with value ‘128’ when decoded :
- 20 first tiles are correct with tile size 1024x1024
- 5 first tiles are correct with tile size 2048x2048
- only the first tile is correct with 4096x4096 tile size.
Do you know if there are size limitations on entry files with opj_compress or OpenJPEG library ?