April 26, 2024, 01:31:34 PM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Image width and height

Started by maurice1, February 07, 2007, 06:08:13 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

maurice1

I have searched the help file and I can't seem to find how to get a loaded image's (using SHOWIMAGE window, handle, type, x, y , {w, h{, flags}})  width and height. Can anyone advise?
Maurice

LarryMc

I use functions from a dll to determine image size, scale, rotate, adjust contrast, etc.
You can find an IBASIC example w/ the dll and source code at :
http://www.codingmonkeys.com/index.php?action=tpmod;dl=item31
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

maurice1

Thanks Larry,

Have downloaded the examples and I will try them out.
Maurice