id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc 3345,GDAL JPEG compressed NITF image is not compatible with other NITF viewer,thchiou,Even Rouault,"When I used GDAL to save a compressed NITF image, I was not able to get other NITF viewer to open resulting image. The image I tested is a 3 band image and I set compression type as “C3” (JPEG compression). I tried to reopen the compressed image with ELT4000 (commercial NITF tool), ESRI !ArcMap, and Opticks (open source image analysis tool) and none of the tools would display the compressed image. And all three tools are able to open the none-compressed NITF file just fine.[[BR]] I also tried to compress an NITF image with ELT4000. A ELT compressed image can be open by ELT4000, GDAL, and ESRI !ArcMap. This leads me to believe there are some incompatibility issue with GDAL generated compressed NITF file. I don’t know if the following information is relevant, but I ran CIVA, the official NITF validation tool, against the GDAL compressed NITF file. And below is an error the validation identified:[[BR]] '' The combination of Image Representation(IREP) = ""YCbCr601"" and Image Compression(IC) = ""C3"" does not allow Image Mode(IMODE) = ""B"".” I checked the NITF specification(2500C) and those combination is not listed in the the complexity level table in the Appendix A (page 127). '' [[BR]] I would appreciate if any one can shed some light one this issue. If you need additional information feel free to contact me: kevin.chiou@progeny.net I will attach following files: 1. An uncompressed NITF file 2. A GDAL compressed NITF file 3. An ELT4000 compressed NITF file ",defect,closed,normal,1.7.1,GDAL_Raster,unspecified,normal,fixed,nitf jpeg,warmerdam