Opened 9 years ago

Closed 5 years ago

#5971 closed defect (wontfix)

tiled tiff with jpeg compression has artifacts

Reported by: Hoenir Owned by: warmerdam
Priority: normal Milestone: closed_because_of_github_migration
Component: GDAL_Raster Version: svn-trunk
Severity: major Keywords:
Cc:

Description

$ gdal_translate testimageuncompressedSmallTiff16Bit.tif -co COMPRESS=JPEG -co NBITS=12 -co TILED=YES -co BLOCKXSIZE=256 -co BLOCKYSIZE=256 jpegoutput.tif
$ gdal_translate jpegoutput.tif jpegoutputuncompressed.tif

See attachment.

Removing TILED=YES gives good results.

Attachments (1)

test.zip (16.9 KB ) - added by Hoenir 9 years ago.

Download all attachments as: .zip

Change History (4)

by Hoenir, 9 years ago

Attachment: test.zip added

comment:1 by Even Rouault, 9 years ago

trunk r29228, branches/1.11 r29229 "GTiff: avoid generated corrupted right-most and bottom-most tiles for 12-bit JPEG-compressed (partial fix that just disable tile filling, #5971)"

Keeping this ticket open since a more involved fix would ideally be needed to replicate last column and last line instead of leaving them to 0.

comment:2 by Hoenir, 9 years ago

Awesome. Thanks for the quick preliminary fix.

comment:3 by Even Rouault, 5 years ago

Milestone: closed_because_of_github_migration
Resolution: wontfix
Status: newclosed

This ticket has been automatically closed because Trac is no longer used for GDAL bug tracking, since the project has migrated to GitHub. If you believe this ticket is still valid, you may file it to https://github.com/OSGeo/gdal/issues if it is not already reported there.

Note: See TracTickets for help on using tickets.