GDAL has working SWIG bindings for Java and you could do the same as gdal_translate is doing by using the SWIG API. Some examples about how to use the java bindings can be found in the GDAL source tree:
http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/java/apps Best regards, Tamas 2009/5/13 Landon Blake <lbl...@ksninc.com> > Daniel, > > I think this would do the trick. I know just enough shell scripting to > be dangerous, but I think that I could pull this off. > > I appreciate the suggestion. > > Landon > Office Phone Number: (209) 946-0268 > Cell Phone Number: (209) 992-0658 > > > > -----Original Message----- > From: discuss-boun...@lists.osgeo.org > [mailto:discuss-boun...@lists.osgeo.org] On Behalf Of Daniel Morissette > Sent: Wednesday, May 13, 2009 8:11 AM > To: OSGeo Discussions > Subject: Re: [OSGeo-Discuss] Open Source Library For ECW Conversion > > Landon Blake wrote: > > I'm looking for an open source library that will allow me to convert > ECW > > images into a more common format like JPG or TIFF. I'd love it if > there > > were something in Java, but I'm not running across anything via search > > > engine query so far. > > > > > > Sounds like a job for gdal_translate: > > http://gdal.org/gdal_translate.html > > Don't let the complicated list of options scare you... for a simple > conversion you'd use something like: > > gdal_translate -of GTiff src.ecw out.tif > > Not in Java, but you don't need to do any coding anyway, except perhaps > write a script to run multiple conversions in batch. > > Daniel > -- > Daniel Morissette > http://www.mapgears.com/ > _______________________________________________ > Discuss mailing list > Discuss@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/discuss > > > Warning: > Information provided via electronic media is not guaranteed against defects > including translation and transmission errors. If the reader is not the > intended recipient, you are hereby notified that any dissemination, > distribution or copying of this communication is strictly prohibited. If you > have received this information in error, please notify the sender > immediately. > _______________________________________________ > Discuss mailing list > Discuss@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/discuss >
_______________________________________________ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss