S
Stu
Hi,
I have opened an image using the code below. I can read the physical
dimesions of the image but I need to get the file size.
Dim img As System.Drawing.Image
img = System.Drawing.Image.FromFile("C:\MyImage.jpg")
I need to do it without looking at the file system as I am going to be doing
some basic compression on the fly, and allowing the user to select the one
with the lowest file size that looks OK.
Thanks in advance.
Stu
I have opened an image using the code below. I can read the physical
dimesions of the image but I need to get the file size.
Dim img As System.Drawing.Image
img = System.Drawing.Image.FromFile("C:\MyImage.jpg")
I need to do it without looking at the file system as I am going to be doing
some basic compression on the fly, and allowing the user to select the one
with the lowest file size that looks OK.
Thanks in advance.
Stu