xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabio Biscaro" <bisc...@webscience.it>
Subject R: Image reader
Date Tue, 08 Jun 2004 15:00:35 GMT
Thanks! Very useful!

fabio

-----Messaggio originale-----
Da: Cameron McCormack [mailto:cam-batik-users@aka.mcc.id.au] 
Inviato: lunedì 7 giugno 2004 11.39
A: 'Batik Users'
Oggetto: Re: Image reader


Hi Fabio.

Fabio Biscaro:
> Hi! How can I use batik classes to read a png file?
> 
> Squiggle is able to read images very well!

If you look in the org/apache/batik/bridge/SVGImageElementBridge.java
file you can see that it uses the readURL method of
org.apache.batik.ext.awt.image.spi.ImageTagRegistry to return a
java.awt.image.renderable.RenderableImage that you can use to render any
of the image types that Batik supports.

Hope this helps,

Cameron

-- 
Cameron McCormack
|  Web: http://mcc.id.au/
|  ICQ: 26955922

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Mime
View raw message