467,211 Members | 1,210 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,211 developers. It's quick & easy.

Image Dimensions?

Hello!

I am using following code to get all JPEG files in a directory. Data,
including file name, length, creation date, etc will be stored in a
DataTable. Now I would like to add two extra colums to the DataTable -
height and width.

I was wondering, what is the fastest way to get the dimensions (height and
width) of image stored on server hd?

Dim Directory As New IO.DirectoryInfo(Path)
Dim File As IO.FileInfo
Dim Files As IO.FileInfo() = Directory.GetFiles("*.jpg")

Thanks!
James
Jan 16 '06 #1
  • viewed: 752
Share:

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by dave | last post: by
8 posts views Thread by Abs | last post: by
14 posts views Thread by D. Alvarado | last post: by
6 posts views Thread by MurrayTh | last post: by
4 posts views Thread by chrisse_2@hotmail.com | last post: by
2 posts views Thread by Adam Teale | last post: by
6 posts views Thread by Samuel | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.