xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thierry Kormann" <tkorm...@ilog.fr>
Subject RE: Graphics2D to jpg
Date Tue, 16 Apr 2002 07:56:00 GMT

>     I want to create jpeg file from Grpahics2D object. Please let me know
> how to do it. If possible give me some sample code.

create a BufferedImage
get its Graphics2D object
paint inside
look at the code in the JPEGTranscoder to see how you can create a JPEG from
a BufferedImage.

Hope that helps,

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

View raw message