As we all know, gdiplus.dll brings many new possibilities to vfp users.
Gdiplus.dll is a free and redistributable library provided by microsoft, that must be used only in windows (R) systems.
Alexander Golovlev may have been the first person to publish a class that dealed with this fantastic library. He created the class GPIMAGE.PRG, that was published in 2003 in the UniversalThread downloads area.
GpImage came a long time before vfp9, and is supposed to work with vfp7 and above. probably works with previous versions, but i've not tested. It's a great library, providing a wrapper class to deal with gdi+. The original class works with the image class, and has most functions that the gpimage class from _GdiPlus.vcx (from the VFP9 FFC) brings, and some other really interesting, providing windows captures, cropping images and some other cool functions.
Under the authorization of Alexander Golovlev, and with his help and support, I added some functions to the original GpImage class published in UT.
Basically we included a graphics class.
New methods included let you draw rectangles, lines, ellipsis, pies, strings and pictures on images. brings the possibility to control alignment, size, orientation, rotation, of any shape, text or picture.
It is possible to work with image attributes too, changing colors of images, like convert to B&W or gray scale, increase a color, etc.
This class is based on GDI+ and requires gdiplus.dll which is freely available and can be installed on win98 and higher. If you have not installed WinXP or .NET runtime then you can download this dll from
The link for the enhanced class gpimage that deals with gdiplus.dll is :
There you can find also a faqs link, with many examples of use with the class.
Download the class, and open the examples folder, where you can find many small prgs and forms dealing with the class.
There is a cool example of a form that changes contrast, saturation, brightness (testgpimage.scx), another usage of a pie charts class (objpie.prg), and also printing vertical or upside down texts in vfp reports (see testefrx.prg and teste.frx).
The class is more recommended for people that still have not upgraded to vfp9 and need to use GDI+. It's a long time since i don't send an update to this class.
There are many other new features that can be added to the library, like getting metadata information, gradient color brushes, etc.
Recently, I've been using my free time to develop using the new _gdiplus.vcx class and the fantastic new VFPX classes - aka GDIPLUSX.