[gdal-dev] Converting to J2K

Greg Coats gregcoats at mac.com
Tue Aug 18 10:44:20 EDT 2009


$ gdal_translate --version
GDAL 1.6.2, released 2009/07/31
$ gdal_translate -of JPEG2000 18stj940125.tif 18stj940125.jp2
Input file size is 5000, 5000
0...10...20...30...40...50...60...70...80...90...100 - done.

FYI The convention for JPEG2000 image files is to use the  
extension .jp2.
Greg

On Aug 18, 2009, at 4:13 AM, Smart, Gary wrote:

> I am trying ‘gdal_translate  –of JPEG2000  thingy.ntf  thingy.j2k’  
> but GDAL complains that it doesn’t understand the format thingy.j2k
> I think its getting the arguments confused.  What am I doing wrong?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20090818/2042f49d/attachment-0001.html


More information about the gdal-dev mailing list