JPEG files not reading properly
|Reported by:||warmerdam||Owned by:||warmerdam|
|Cc:||ersts, goggi, vjetly, pramsey|
Using the GDAL 1.5.4-2 package from OSGeo4W, an attempt to translate a JPEG file results in an error:
n:\data\jpeg>gdal_translate worldjpg.jpg out.tif gdal_translate worldjpg.jpg out.tif Input file size is 4320, 2153 0...10...20...30...40...50...60...70...80...90...100 - done. Corrupt JPEG data: premature end of data segment
The file in question can be found at:
This bug underlies:
I believe this bug relates to special libjpeg-ipp patches made in GDAL with regard to how jpeg input buffer is accomplished. References to follow. I do not believe these changes are in any formal source releases of GDAL.