Hi Rahul,
> Is it possible to use Batik to convert from Tiff to JPEG Probably. You have classes (for TIFF [1] and JPEG [2]) which seem to hint towards a solution. Just not an out-of-the-box solution (no command-line utility for that, as far as I know). Note that Apache XML Graphics Commons also contains image codecs [3] which aren't proprietary (Batik currently uses "com.sun.image" [4]). As we're at it, note that there's (at least) a known issue [5] with TIFF support. If you are just looking for the simplest solution (regarding image format conversion), you may also consider taking a look at ImageMagick [6] (which includes Java bindings among many other). ;-) > Thanks > Rahul Hope this helps, Helder [1] http://xmlgraphics.apache.org/batik/javadoc/index.html?org/apache/batik/ext/awt/image/codec/tiff/TIFFImageDecoder.html [2] http://xmlgraphics.apache.org/batik/javadoc/index.html?org/apache/batik/ext/awt/image/codec/jpeg/JPEGImageWriter.html [3] http://xmlgraphics.apache.org/commons/#features [4] https://issues.apache.org/bugzilla/show_bug.cgi?id=46513 [5] https://issues.apache.org/bugzilla/show_bug.cgi?id=25142 [6] http://www.imagemagick.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
