You can do this if you encode the Image yourself by
sampling the pixels or you can use a variety of 3rd
party tools to convert Images to GIFs, JPGs, etc.
Probably the easiest is to use the Java Advanced
Imaging API to do this.  I have wrote a couple of
servlets using it to manipulate JPGs and GIFs before
serving them (scaling, etc).

Sam

>
> I have an Image object with me. I want to pass this as input to
> the servlet
> so that the servlet saves it on the server after doing the necessary
> encoding.. The qestion is, is it possible to pass an Image object since it
> does not (?) implement the serializable interface.
>
> Thanks.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to