[Gdal-dev] MrSID driver with 16bit output

Chapman, Martin MChapman at sanz.com
Tue Feb 14 16:06:12 EST 2006


I have a 16bit (GDT_UInt16) tiff file that I am trying to copy to a
UInt16 jp2 file using the MrSID esdk 6.x driver.  When I try to remap it
to 8-bit uchar it works fine.  When I try to just copy it to jp2 it
fails.  It looks like the only diff between the two operations is the
datatype used to initialize the JP2WriterManager object in the
JP2CreateCopy() method of the mrsiddataset.cpp file.  In
MrSIDDummyImageReader::initialize() the datatype is set to
LTI_DATATYPE_UINT16 instead of LTI_DATATYPE_UINT8.  Can anyone confirm
this to be a problem in the GDAL mrsid driver?

 

Best regards,

Martin 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20060214/d6deb29d/attachment.html


More information about the Gdal-dev mailing list