Opened 6 years ago

Closed 3 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:


$ 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) (16.9 KB) - added by Hoenir 6 years ago.

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by Hoenir

Attachment: added

comment:1 Changed 6 years ago by Even Rouault

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 Changed 6 years ago by Hoenir

Awesome. Thanks for the quick preliminary fix.

comment:3 Changed 3 years ago by Even Rouault

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 if it is not already reported there.

Note: See TracTickets for help on using tickets.