Opened 11 years ago
Last modified 5 years ago
#5183 closed defect
Artifacts in Image Using GDAL JP2KAK plugin for lossless 16 bit — at Initial Version
Reported by: | swalter75 | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | closed_because_of_github_migration |
Component: | GDAL_Raster | Version: | svn-trunk |
Severity: | normal | Keywords: | |
Cc: |
Description
When converting Int16 data to JP2KAK with the -co "QUALITY=100" option, strange artifacts are created in the nodata values and also in teh image data. Using the conversion without the lossless option everything works (but the image has a near black seam).
Attached to this ticket you will find two examples, one with the quality parameter, one without. The commands were the following:
gdal_translate -ot Int16 -of JP2KAK hb738_0000.dt4.04.tif hb738_0000.dt4.04.jp2
gdal_translate -ot Int16 -of JP2KAK -co "QUALITY=100" hb738_0000.dt4.04.tif hb738_0000.dt4.04_qual100.jp2
The originating tiff (Mars elevation) will also be attached.