id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc 4732,[PATCH - libtiff] Support creating RGBA pixel-interleaved JPEG-compressed TIFF,Even Rouault,warmerdam,"Internal libtiff can : * read correctly RGBA pixel-interleaved JPEG-compressed TIFF * read correctly RGBA band-interleaved JPEG-compressed TIFF * write correctly RGBA band-interleaved JPEG-compressed TIFF But it can no write RGBA pixel-interleaved JPEG-compressed TIFF, because it sets sp->cinfo.c.in_color_space = JCS_RGB when td->td_photometric == PHOTOMETRIC_RGB without checking that the number of samples per pixel is 3 (if it is not 3, then libjpeg throws a 'JPEGLib: Bogus input colorspace' error. Patch attached to fix that and use in_color_space = JCS_UNKNOWN instead in that case.",defect,closed,normal,,GDAL_Raster,unspecified,normal,fixed,libtiff,