Ticket #3012 (closed defect: invalid)
PPM Driver 16bit Support Byte Order Decision Questionable
|Reported by:||warmerdam||Owned by:||warmerdam|
I have discovered that gdal cannot read PPM binary files produced with the djpeg (decompress jpeg) on intel tool due to incorrect byte order handling. It is not immediately clear if the error is in GDAL or in djpeg. I have uploaded the ppm produced with djpeg to:
Please use the ppm tools to convert this to ascii format and determine if it is correct or not. If it is correct the byte swapping information in pnmdataset.cpp will need to be adjusted.
If the .ppm file is wrong, then I'll look into a correction in the libjpeg source for djpeg.