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

Quantum GIS qgis at qgis.org
Tue May 6 23:16:34 EDT 2008


#996: QGIS corrupts JPEG2000 colors
-----------------------------------------------------+----------------------
        Reporter:  coatman                           |         Owner:  nobody                      
            Type:  defect                            |        Status:  new                         
        Priority:  major: does not work as expected  |     Milestone:  Branch - Raster Transparency
       Component:  Rasters                           |       Version:  HEAD                        
      Resolution:                                    |      Keywords:                              
Platform_version:                                    |      Platform:  OS X                        
        Must_fix:  Yes                               |   Status_info:  0                           
-----------------------------------------------------+----------------------
Comment (by coatman):

 My web site http://homepage.mac.com/gregcoats/jp2.html offers a good for
 testing, small example GeoJPEG2000 image only 800x100 pixels, that
 contains red, green, blue, white, cyan, magenta, yellow, and black pixels.
 Please note that QGIS 0.8.0 worked well with gdal_JP2KAK.dylib.  It is
 QGIS 0.9.2 that radically, unacceptably alters the colors of all
 GeoJPEG2000 images when using gdal_JP2KAK.dylib.  Also, note that I was
 told that gdal_JP2KAK.dylib must be the only entry in /Library/Application
 Support/GDAL/PlugIns in order for the Kakadu based gdal_JP2KAK.dylib
 plugin to actually be used.

 The reference to "the current version of QGIS" is not helpful because it
 does not tell us what version of QGIS was tried.  I initially reported
 that QGIS 0.8.0 succeeds, and QGIS 0.9.2rc1-Ganymede (8079) fails.  This
 was confirmed by William Kyngesburye before I posted the initial report,
 and since then has been confirmed by starriver.
 It is frustrating that this worked fine in QGIS 0.8.0, but later something
 was changed, and not checked, that prevents GeoJPEG2000 images from being
 properly displayed.

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/996#comment:4>
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