Re: Change backgorund image

Zerbe John W <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <[email protected]>
I have to agree with this approach (if possible).
manipulating images "on the fly" is a very expensive (in cpu cycles) operation.

-----Original Message-----
From: Andy Engle [mailto:[email protected]]
Sent: Thursday, April 24, 2003 1:18 PM
To: [email protected]
Subject: Re: Change backgorund image


Adrian Morales <[email protected]> wrote:

> If I have a image field  in my Sybase DB ( jpg for example),  and
> when I fetch it to display it with my servlet how can I change its
> background or embed it with other image?

I don't think it's possible, other than writing some sort of graphics
application that will do all the image stuff for you.  Perhaps you
could try horsing around with imagemagick and seeing if it will do
anything to help you.

If feasible, maybe you could have a collection of "canned" images that
are already blended together like you want, and then you could just
call one of them when needed.  This way you could do all your fancy
image junk with something like Photoshop, then load it when you want
it.  This assumes that your background image stock is somewhat limited,
but it may be an option if you really need to have combined images.


Andy

___________________________________________________________________________
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



DISCLAIMER:
The information contained in this e-mail may be confidential and is intended solely for the use of the named addressee. Access, copying or re-use of the e-mail or any information contained therein by any other person is not authorized. If you are not the intended recipient please notify us immediately by returning the e-mail to the originator.

___________________________________________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.