Sure, I did.
Check out my graffiti wall at
http://www.gojasper.be/wall.jsp
outImage is a BufferedImage on which I write the graffiti
I store the result in memory in a ByteArray that delivers the jpg to the
browser on following requests.
current = new ByteArrayOutputStream();
// create a JPEG encoder and use it to encode & write to the file
JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(current);
encoder.encode(outImage);
Geert 'Darling' Van Damme
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Manish Bijay Kumar
> Sent: donderdag 25 mei 2000 9:09
> To: [EMAIL PROTECTED]
> Subject: com.sun.image.codec.jpeg
>
>
> Hi All,
> Has any body used the com.sun.image.codec.jpeg API. It would be great if
> some can provide some good examples on the above.
>
>
> Thanks,
> Manish
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets