Ticket #2189 (closed defect: fixed)
Writing YCbCr JPEG files no longer works
| Reported by: | warmerdam | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | high | Milestone: | 1.5.1 |
| Component: | GDAL_Raster | Version: | 1.5.0 |
| Severity: | normal | Keywords: | gtiff geotiff |
| Cc: | ysiddiqui@… |
Description
Frank,
I have found a problem with the new FW Tools (version 2.0.4):
A process that used to run before (version 1.3.1) now encounters an error. Here is the command used:
gdal_translate -co TILED=YES -co PROFILE=GeoTIFF -co COMPRESS=JPEG -co PHOTOMETRIC=YCBCR -co TFW=YES -co JPEG_QUALITY=85 infile.tif outfile.tif
The error I see in the new version is:
0Warning 1: JPEGFixupTagsSubsampling:Unable to auto-correct subsampling values, likely corrupt JPEG compressed data in first strip/tile; auto-correcting skipped ERROR 1: Input and output dataset sizes or band counts do not match in GDALDatasetCopyWholeRaster()
If you need sample data, let me know.
Yusuf
Change History
Note: See
TracTickets for help on using
tickets.
