Opened 13 years ago
Last modified 10 years ago
#4050 closed defect
JP2KAK : offset in lossless unsigned int (16 bits) — at Initial Version
Reported by: | pinchonn | Owned by: | warmerdam |
---|---|---|---|
Priority: | high | Milestone: | 1.11.0 |
Component: | default | Version: | 1.9.0 |
Severity: | blocker | Keywords: | kakadu lossless JP2KAK JPEG2000 |
Cc: |
Description
There is a problem with creating a lossless JPEG2000 image with JP2KAK (kakadu) from an unsigned int image : the output image has an +32768 offset. This offset seems to be constant.
The test image is an unsigned int TIFF image (see attachment).
I tried different GDAL versions : 1.7.3 and 1.8
Kakadu version is 6.4.1 (latest).
Platform is Linux Red Hat 5 64 bits.
To reproduce the bug :
gdal_translate -of JP2KAK -co QUALITY=100 input.tif out_gdal_translate.jp2
Using kakadu tools there is no problem :
kdu_compress -i input.tif -o out_kdu_compress.jp2 Creversible=yes Clayers=16
(Creversible is used instead of QUALITY=100)
Note:
See TracTickets
for help on using tickets.
input image