RE: Resizing output image from a Struts Action

2005-08-19 Thread James Neville
Wendy, >I've used Marco Schmidt's ImageInfo http://schmidt.devlib.org/image-info/ >in the past to retrieve height/width information from JPG files in order to >calculate the size for a "max 600 pixels on the long side" smaller version. Looks very useful, hadn't seen this before. Thanks for th

Re: Resizing output image from a Struts Action

2005-08-19 Thread Wendy Smoak
From: "C.F. Scheidecker Antunes" <[EMAIL PROTECTED]> I guess I have most of it done but I would like advise on how to: 1) Construct a JPG, GIF or BMP object with the ByteArray 2) Resize this object and produce a resided ByteArray so that I can send it to the browser. I've used Marco Schmidt'

[OT] Re: Resizing output image from a Struts Action

2005-08-19 Thread James Neville
CF, This probably isn't the best list to be asking these types of questions, but seeing as you wrote such a long mail, i figured a pointer is at least warranted ;) I don't think you can resize an image directly from a ByteArray, but someone here will probably prove me wrong. We need similar

Resizing output image from a Struts Action

2005-08-18 Thread C.F. Scheidecker Antunes
Hello all, I have an action to retrieve an image from a database BLOB field and display it. It works great. However I wanted to resize the image proportionaly. Hence I think on writing a second action, that would call the first in order to retrieve the image. Then, would work on this image t