>Hmm, looks like the GDI Plus Foundation Class might be a possibility.
Why don't you try VFPx/GdiPlusX project ? There is lot of samples provided in it's demo project.
Also check Cesar Chalom blog at Foxite. This should be fairly simple.
Non gdi+, (dirty fox {g} ) way wld be to load image file to an empty image control with stretch property set to 0 (clip)
You add image control to a form, set width/height for instance 5X5 pix and then progarmatically change
image.picture property. After foxpro resizes image object itself to show entire picture, you simply read height and width.
Form can be invisible, or parked safely at say -10 000 pixels to the left ;)
HTH
Sergio