[Gdal-dev] Writing NITF JPEG2000 files with gdal_translate

Frank Warmerdam warmerdam at pobox.com
Mon Jun 12 16:53:32 EDT 2006


On 6/12/06, Ron DeSpain <ron_despain at hotmail.com> wrote:
> I have read that GDAL supports NITF with JPEG 2000 compression files for a
> long time, but there does not seem to be a keyword for writing one with the
> command line application "gdal_translate".  Is there an undocumented
> gdal_translate option which writes an image to NITF2.1 with JPEG2000
> compression?

Ron,

If you have GDAL built with ECW SDK support, I believe you should
be able to use the creation option IC=C8 to force production of
a jpeg2000 compressed file.

eg.
gdal_translate -co IC=C8 utm.tif utm.ntf

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the Gdal-dev mailing list