Getting image info using picturebox

K

kimiraikkonen

Hi,
I searched around and it seems picturebox control doesn't provide a
class for getting all properties of an image such as color depth, EXIF
info, pixel per inch, colour model (rgb etc..) and much more like you
right click on a image and view its properties with Windows.

Is there a free library that presents an image's "detailed" property
info including EXIF data which is placed in picturebox?

Picturebox only provides basic things like vertical/horizontal
resolution or file format which is completely too few to care.

Thanks!
 
C

Cor Ligthert [MVP]

Kimi,

AFAIK does the picturebox has an Image property.

That should give you all information you want, and if not than you can cast
it to the drawing namespace.

Cor
 
Z

zacks

Hi,
I searched around and it seems picturebox control doesn't provide a
class for getting all properties of an image such as color depth, EXIF
info, pixel per inch, colour model (rgb etc..) and much more like you
right click on a image and view its properties with Windows.

Is there a free library that presents an image's "detailed" property
info including EXIF data which is placed in picturebox?

Picturebox only provides basic things like vertical/horizontal
resolution or file format which is completely too few to care.

Thanks!

As Cor mentioned, the Image class will give you some of the properties
you mention. But NOT EXIF. The Image class does have something called
Property Tags, which are similar to EXIF, but not the same.
 
B

Bob Powell [MVP]

K

kimiraikkonen

Check out my site for an article on that subject.

--
--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consultinghttp://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Trickshttp://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQhttp://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.









- Show quoted text -

Bob,
I couldn't find any specific article that demonstrates reading EXIF
info of an image file on your website. Also searching your site did
return nothing on that issue. Maybe you'd better post the exact link.

Thanks
 
T

Tom Shelton

Hi,
I searched around and it seems picturebox control doesn't provide a
class for getting all properties of an image such as color depth, EXIF
info, pixel per inch, colour model (rgb etc..) and much more like you
right click on a image and view its properties with Windows.

Is there a free library that presents an image's "detailed" property
info including EXIF data which is placed in picturebox?

Picturebox only provides basic things like vertical/horizontal
resolution or file format which is completely too few to care.

Thanks!

I think you can get to at least some of what you want, via the
PictureBox's image property. Though, it seems to only work, if you set
the Image directly:

PictureBox1.Image = New BitMap("c:\whatever\whatever.jpg")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top