View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Charlotte E[_2_] Charlotte E[_2_] is offline
external usenet poster
 
Posts: 38
Default Reading image size?

I have a number of images on a server drive, and I can easily put the path
and name of the image into a variable, i.e.

EngineMap = "S:\EmgineMaps\EngineMap 11.BMP"

The engine maps could also be in any image format, i.e.

EngineMap = "S:\EmgineMaps\EngineMap 123a.JPG"
EngineMap = "S:\EmgineMaps\EngineMap 42ed.TIFF"
EngineMap = "S:\EmgineMaps\EngineMap w3a.GIF"

But they are all in various pixel size, and I need to know the pixel size of
the images....

How can I read the pixel size of an image via Excel VBA?


Thanks in advance...

CE