[QGIS-trac] Re: [Quantum GIS] #996: Re: [Quantum GIS] #996: QGIS corrupts JPEG2000 colors

Quantum GIS qgis at qgis.org
Mon Jan 5 22:10:56 EST 2009


#996: Re: [Quantum GIS] #996: QGIS corrupts JPEG2000 colors
-----------------------------------------------------+----------------------
        Reporter:  coatman                           |         Owner:  nobody       
            Type:  defect                            |        Status:  closed       
        Priority:  major: does not work as expected  |     Milestone:  Version 1.0.1
       Component:  Rasters                           |       Version:  HEAD         
      Resolution:  fixed                             |      Keywords:  kakadu raster
Platform_version:                                    |      Platform:  All          
        Must_fix:  No                                |   Status_info:  0            
-----------------------------------------------------+----------------------
Comment (by Coatman):

 Regarding http://trac.osgeo.org/gdal/ticket/2732#comment:14

 The color display problem with GDAL Kakadu based JP2KAK is fixed by
 changing line 1562 of jp2kakdataset.cpp from
         KDU_WANT_CODESTREAM_COMPONENTS);
 to
         KDU_WANT_OUTPUT_COMPONENTS);

 I am pleased to report that, under Mac OS X 10.5, I changed, as directed,
 line 1562 of 1.6/gdal/frmts/jp2kak/jp2kakdataset.cpp and then built a new
 gdal_JP2KAK.dylib plugin. Now QGIS, using Kakadu based JP2KAK, properly
 displays JPEG2000 images.

 So a new compilation of QGIS with the updated GDAL Kakadu based JP2KAK
 jp2kakdataset.cpp and the updated GDAL Jasper based JPEG2000
 jpeg2000dataset.cpp provides two facilities for QGIS to properly display
 JPEG2000 images.  The JP2KAK plugin for 32 bit and 64 bit Intel Macs can
 be downloaded from my web site.   Hooray!  Thanks!

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/996#comment:58>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list