-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
Has anyone actually implemented a servlet where one uses a standard picture
and writing a tag over it. For example, a small picture of a ship and then
write the tag over it. This could make it a customizable implementation for
generating "buttons". By changing the background image, you could customize
the button and text displayed.
The call to such a servlet could then pass 2 parameters - "backimg=ship.jpg"
and "text=Home Page".
Brahm van Niekerk
CEO - Elgin Data Development Corporation (PTY) Ltd.
P.O. Box 641, Ceres, 6835, South Africa
Tel. 027 83 270 2850, Fax 027 838 270 2850
mailto:[EMAIL PROTECTED]
> jdk 1.2 includes java 2d which has classes for manipulating jpegs. it
should
> be a trivial task to generate a java.awt.Graphics2D object on the fly, do
> your own hacks to it and output the results as a jpeg via a stream
utilizing
> com.sun.image.code.jpeg.JPEGCodec. just remmember to set the content-type
to
> image/jpeg or whatever it is supposed to be. i wrote a hello world thingy
a
> while ago which worked fine.
>
> for more info, check out:
> http://www.javasoft.com/products/java-media/2D/index.html
>
> btw, y r u all stuck on gifs anyways? PNG ( http://www.cdrom.com/pub/png/)
> is a much better alternative with several implementations for java
> http://www.cdrom.com/pub/png/pngcode.html) .. dunno how good the
> implementations r tho.
>
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]