<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>Problem with GDAL NITF Image Compression</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT FACE="Times New Roman">I just realized if I compress a NITF file with GDAL, the compressed image file cannot be opened by other NITF image viewers.&nbsp; I tested with ELT, ArcMap, and Opticks, all reports some type of error when trying to open a GDAL compressed NITF file.&nbsp; GDAL seems to be the only driver that is capable of reopen a GDAL compressed NITF file.</FONT></P>

<P><FONT FACE="Times New Roman">I tried both C3 and M3 compression options ( JPEG compression), and neither of them works.&nbsp; I also ran NITF validation tool on the compressed file and following error is shown:</FONT></P>

<P><FONT FACE="Times New Roman">&#8216;The combination of Image Representation(IREP) = &quot;YCbCr601&quot; and Image Compression(IC) = &quot;M3&quot; does not allow Image Mode(IMODE) = &quot;B&quot;.&#8217; </FONT></P>

<P><FONT FACE="Times New Roman">And if you look at appendix A of NITF specification (2500C), it does not list those parameters as a possible combination.&nbsp; But at the same time I don&#8217;t know if the incorrect header supposes affect how other NITF viewer opens the file or not.</FONT></P>

<P><FONT FACE="Times New Roman">I haven't deal with JPEG format much before.&nbsp; So any suggestion on what might went wrong, or anything else I can try is greatly appreciated.&nbsp; </FONT></P>

<P><FONT SIZE=2 FACE="Arial">-Kevin</FONT>
</P>

</BODY>
</HTML>