Hi ,

I am working on a applicationwhere we are using Batik SVG Viewer and we are
facing following issues:

   - We are trying to implement the print functionality in our applicatio
   where the Batik applet has to communicate with some DLL files. Here the
   process is very slow and sometimes it even fails to do it. Is it a known
   issue in Batik?
   - We have implemented javascript in our application with Batik for some
   functionalities.But we are facing some issue in javascript like the 'parent'
   object of the document is not accessible and it gives null; here this same
   functionality was working with ASV , which we were using earlier.

I will be greatful if anyone can throw some light on my issues.

Thanks & regards,

Shekha

2009/5/16 Helder Magalhães <[email protected]>

> 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]
>
>

Reply via email to