From: magix on
Hi,

Is there a way to determine the actual width and height of a image file ?
I'm using aspsmartupload to upload the image, how can determine and save the
width and height value ?
seems that aspsmartupload doesn't have this property.

If so, is there any method to determine it in asp in the simpliest way? I
will prefer to maintain the aspsmartupload method.

thanks.

cheers
Magix


From: Bob Barrows [MVP] on
magix wrote:
> Hi,
>
> Is there a way to determine the actual width and height of a image
> file ? I'm using aspsmartupload to upload the image, how can
> determine and save the width and height value ?
> seems that aspsmartupload doesn't have this property.
>
> If so, is there any method to determine it in asp in the simpliest
> way? I will prefer to maintain the aspsmartupload method.
>
See
http://classicasp.aspfaq.com/files/directories-fso/how-do-i-create/manipulate-images-from-asp.html

Two approaches are listed.
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.


From: "Jon Paal [MSMD]" Jon nospam Paal on
try this...

http://www.4guysfromrolla.com/webtech/code/imgsz.asp.html