I don't know why you are storing to a database, Sudip, but if you are
I would just store a BufferedImage object and, then, you can deliver
the image however you like, i.e. in any format (PNG, GIF, JPEG etc),
in any size, with or without alpha transparency, etc. Since IO with
files is CPU independe
Looks like you sort of hijacked a thread where womeone else was trying
to get assistance on another question, Adam. If I am mistaken, sorry,
but if I am not it really is better to start your own thread with your
own subject than to hijack another person's thread.
On 5/31/05, Adam Lipscombe <[EMAI
PROTECTED]
Sent: 31 May 2005 17:26
To: 'Struts Users Mailing List'
Subject: RE: technique to show a preview of the image
Folks,
Our JSP's use stylesheets referenced by a standard HTML link tag. E.g.
The graphic designers are complaining 'cos on-the-fly changes made in a
sty
Folks,
Our JSP's use stylesheets referenced by a standard HTML link tag. E.g.
The graphic designers are complaining 'cos on-the-fly changes made in a
stylesheet does not automatically force a JSP to get re-compiled by Tomcat
5.0.28. This means they cant see their changes unless they restart TC
If you have a file in the database I would highly recommend persisting it to
the file system anyway for performance reasons.
A preview of a file is usually a scaled down version and from that point of
view I would 'work' on the image to resize it to your required preview
dimensions.
-Original
5 matches
Mail list logo