[gdal-dev] MrSID Color Spaces
Even Rouault
even.rouault at spatialys.com
Tue May 16 09:28:01 PDT 2017
On mardi 16 mai 2017 10:13:52 CEST Martin Chapman wrote:
> Even or Frank or whoever it may concern,
>
>
>
> Not a big deal but I was trying to open a JP2 file using the MrSID driver
> and noticed that the mrsiddataset.cpp does not identify the color spaces
> MRSID_LTI_COLORSPACE_GRAYSCALEA and MRSID_LTI_COLORSPACE_GRAYSCALEA_PM
> configurations in the MrSIDRasterBand() constructor. I happen to have a two
> band JP2 that is a grayscale image with an alpha channel. The color
> interpretation comes back as GCI_undefined. Not that important but if you
> ever feel like fixing it, that would be nice.
>
>
>
> The fix would go somewhere close to line 485 in mrsiddataset.cpp. Basically
> just need to add a couple of more case statements in the switch statement.
Martin,
Seems you are closed to a patch. Can you provide it ?
Even
--
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170516/4263acb9/attachment.html>
More information about the gdal-dev
mailing list