G german Feb 16, 2006 #2 Hi ! Any body knows how to obtain the height and width from an image that I am trying to upload ? I am using the clasic <input type=file......> object from html. Thank you very much.
Hi ! Any body knows how to obtain the height and width from an image that I am trying to upload ? I am using the clasic <input type=file......> object from html. Thank you very much.
P Patrice Feb 16, 2006 #4 Try : http://msdn.microsoft.com/library/d...f/html/frlrfsystemdrawingbitmapclasstopic.asp Use the FromFile method to load the bitmap and use its Height/Width to get the size (you can also have the resolution and the bit depth).
Try : http://msdn.microsoft.com/library/d...f/html/frlrfsystemdrawingbitmapclasstopic.asp Use the FromFile method to load the bitmap and use its Height/Width to get the size (you can also have the resolution and the bit depth).