[GRASS-dev] [grass-code I][329] r.out.gdal: COMPRESS=JPEG yields "ERROR 1: JPEGSetupEncode:PhotometricInterpretation 3 not allowed for JPEG"

grass-codei at wald.intevation.org grass-codei at wald.intevation.org
Fri Mar 9 17:07:41 EST 2007


code I item #329, was opened at 2007-03-09 23:07
Status: Open
Priority: 3
Submitted By: Maciej Sieczka (msieczka)
Assigned to: Nobody (None)
Summary: r.out.gdal: COMPRESS=JPEG yields "ERROR 1: JPEGSetupEncode:PhotometricInterpretation 3 not allowed for JPEG" 
Issue type: module bug
Issue status: None
GRASS version: CVS HEAD
GRASS component: raster
Operating system: all
Operating system version: 
GRASS CVS checkout date, if applies (YYMMDD): 070308


Initial Comment:
In spearfish:

$ g.region rast=vegcover
$ r.out.gdal input=vegcover format=GTiff type=Byte output=tmp/vegcover_jpg.tif createopt=COMPRESS=JPEG

100%
ERROR 1: JPEGSetupEncode:PhotometricInterpretation 3 not allowed for JPEG
ERROR 1: JPEGSetupEncode:PhotometricInterpretation 3 not allowed for JPEG
ERROR 1: JPEGSetupEncode:PhotometricInterpretation 3 not allowed for JPEG
ERROR 1: JPEGSetupEncode:PhotometricInterpretation 3 not allowed for JPEG
Done!

Maciek


----------------------------------------------------------------------

You can respond by visiting: 
http://wald.intevation.org/tracker/?func=detail&atid=204&aid=329&group_id=21




More information about the grass-dev mailing list