Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Picture size 1

Status
Not open for further replies.

dEraCh2000

Programmer
Nov 14, 2007
39
BA
Hi,

I was wondering is there a way do determine the image file fize, picture size in pixels?


Kind regards
Armin
 
Hi Armin,

By using 0{PROP:pixels} = True, you can change the current window to pixel measurement. Set ?Image{PROP:NoWidth} = True & ?Image{PROP:NoHeight} = True to make sure the image is being shown in its original size. Then multiply ?Image{PROP:Width} * ?Image{PROP:Height} to get the size. If the Image is not a BMP, the size will not correspond because of compression.

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top