Last post Jun 07, 2008 05:45 AM by MightyJay
Jun 07, 2008 12:47 AM|Ibrahim_EM|LINK
I've a file upload control and i want to read only images.After reading the image i want to check the resolution of that image.
How can i measure the resolution of the image.
Jun 07, 2008 05:45 AM|MightyJay|LINK
I suppose you can create a Bitmap object from the upload stream (FileUpload.PostedFile.InputStream) of the upload control and check the HorizontalResolution and VerticalResolution properties of the Bitmap object