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 independent, I like to keep my images on disk and
retrieve them with a multithreaded application.  That is unbelievably
more efficient for a web application.  Also, using delivery via an
action with differing cache settings helps.

On 5/31/05, sudip shrestha <[EMAIL PROTECTED]> wrote:
> Any suggestions on showing a preview of the image stored in the database?
> I found one which is: storing the file in a temporary folder and
> display from there...
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
"You can lead a horse to water but you cannot make it float on its back."
~Dakota Jack~

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to