HI Sven

You have to use Image.getimage. Then you can use getwidth and gethieght.
If you are running on linux and not on X awt will fail so have a look at
http://www.eteks.com/  they have an awt replacement that doesn't require a
canvas.

Chris

On Tue, 4 Jul 2000 11:25:19 -0300, Sven van 't Veer wrote:

>I'm storing images in a database using o'reilly MultipartRequest. I'm
>encountering one small problem, I would like to know both height and
>width of the image when storing it in the DB. Is there an easy way to do
>this?
>
>sven
>--
>======================================================================================
>Sven van 't Veer                                              http://www.cachoeiro.net
>Java Developer                                                      [EMAIL PROTECTED]
>                                        _/_
>The answer                             /   \
>    to the ultimate question        nnn|.
>.|nnn                                     42
>=========================================U============================================
>
>___________________________________________________________________________
>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
>

___________________________________________________________________________
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