In my blog you will find tons of samples for dealing with GdiPlusX.
Google for: VfpImaging + GdiPlusX + Resize + Images
And you'll find this link:
http://weblogs.foxite.com/vfpimaging/2012/03/16/resizing-images-with-gdiplusx/That provides 4 different techniques to resize your images in a flash, according to your needs, also allowing you to save in any GDI+ compatible format, such as BMP, PNG, GIF, JPEG, TIF or EMF
>I have downloaded GDI and the following sample program
>
>But the program just hangs - what am I going wrong?
>
>** How To: RESIZE with Thumbnail Technique
>**
>
>** Saves to a PNG file
>
>DO j:\gdi\System.App
>
>WITH _SCREEN.System.Drawing
>
>* Variables to store the new Image size
>LOCAL lnWidth, lnHeight
>STORE 60 TO lnWidth, lnHeight
>
>* Load the original Image
>LOCAL loSrcImage as xfcBitmap
>loSrcImage = .Bitmap.New(GETPICT())
>
>
>
>* Get the thumbnail with the desired size
>LOCAL loThumbnail as xfcImage
>loThumbnail = loSrcImage.GetThumbnailImage(198, 240)
>
>* Save the resized image as Png
>loResized.Save("c:\Resized1.png", .Imaging.ImageFormat.Png)
>
>ENDWITH
>RETURN