first of all let me ask u. are ur images uploading. if yes.after uploading use this 
code

Image img = Toolkit.getDefaultToolkit().createImage(here filename)
;
Frame frame = new Frame();
                        frame.addNotify();
                        MediaTracker tracker = new MediaTracker(frame);
                        tracker.addImage(image,0);
                        try
                                {
                                        tracker.waitForAll();

                        }catch(Exception e)
                        {
                                        throw new Exception(e.getMessage());
                        }

                        int ht = image.getHeight(frame);
                        int wdt = image.getWidth(frame);

------------- Original Message --------------
Hans Liebenberg <[EMAIL PROTECTED]> wrote:
To:[EMAIL PROTECTED]
From:Hans Liebenberg <[EMAIL PROTECTED]>
Date:Thu, 26 Jul 2001 09:12:00 +0100
Subject: Trivial Question

Hi,

I have uploaded images, but need to determine width and height properties. I
have tried to find standard classes that load jpg/gif but cannot.

Cheers

___________________________________________________________________________
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


_________________________________________________________
For Rs. 2,000,000 worth of Aptech scholarships click below
http://events.rediff.com/aptechsch/scholarship.htm

___________________________________________________________________________
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