By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,077 Members | 1,790 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,077 IT Pros & Developers. It's quick & easy.

find the size(width & height) of the image before uploading C#

P: 30
i uploaded image into database.but i want to restrict if images having more size(width & height) before uploading into database. could any please give information regarding this
Apr 17 '08 #1
Share this Question
Share on Google+
1 Reply


Frinavale
Expert Mod 5K+
P: 9,731
i uploaded image into database.but i want to restrict if images having more size(width & height) before uploading into database. could any please give information regarding this
Have you seen the System.Drawing.Image Class? It has properties for determining the dimensions of images and much more.

If you're developing an ASP.NET Web Application, this article might also be helpful to you.

-Frinny
Apr 17 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.