>>>Is it a disk image file (like a loaded mypic.png)? Or a memory image file (something captured to pixel data from an on-screen capture)?
>>I have it in a binary memo field at the moment. I can write it out to disk or allocate it to a image control on a form. But how to get the dimensions ?
>
>If you're willing to save it to disk and load it to an image control, then just loImageObj.width and loImageObj.height after loImageObj.Picture is populated will tell you.
>
>Of course, that's in VFP. Not sure how to do it in WinDev. Probably one of the H*() functions. :-)
In WD:
MyImage is image = load an image file here
MyImage..Height
MyImage..Width
A lot like Christian's solution isn't it ? :)
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.