[gdal-dev] Converting to J2K

Frank Warmerdam warmerdam at pobox.com
Tue Aug 18 05:52:42 EDT 2009

Smart, Gary wrote:
> Can someone quickly tell me how to convert a ntf file into J2K format?
> 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?


Could you cut and paste the exact error message?  At the end of a data
translation process gdal_translate generally reopens the output file and
I'm wondering if it is at this point that the erroris happening.

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