[gdal-dev] Convert huge PNG file to JP2
Frank Warmerdam
warmerdam at pobox.com
Wed Jul 7 12:28:04 EDT 2010
Gajera Tejas wrote:
> Hi All,
>
> Can I convert huge PNG image to JP2 using GDAL.
> Thanks in advance.
Tejas,
Yes, assuming you have a JPEG2000 driver enabled in GDAL (there are none
in a default build). For instance, if you have built against the Kakadu
library you could do:
gdal_translate -of JP2KAK in.png out.jp2
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