pixel-size of jpg-picture

J

JoAnn

How do I determine the size of a jpg-picture?

I want to import a picture in a form - but would like to
find out - through VBA - what the picture size is - e.g.
500 x 700 pixels or other.

How is that done?

And does it require my picture to be in any specific
format?
 
S

Stephen Lebans

The simplest method is to load the Jpeg into an Image control and then
examine the PictureWIdth and PictureHeight props.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 

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