>*can use also image picture property
>
>local m.o,m.lnWidth,m.lnheight
>m.o=createObject("image")
>m.o.picture=getpict()
>m.lnWidth=o.width
>m.lnHeight=o.height
>messagebox(o.picture+chr(13)+"Width="+trans(lnWidth)+" px Height="+trans(lnHeight)+"px")
>
>*can use gdiplus,gdiplusX,WIA ...to return more image properties.
Since Jos has the whole image in a memo, then it's not as a separate file on disk. I'd change just one line - instead of o.picture
o.pictureVal=myImgMemo