Some people have been asking about Rotating / Flipping images with GdiPlusX.
Here's some adapted code from a previous post that used _GdiPlus.vcx, but this time using GdiPlusX:
Rotating and / or flipping images is a very simple task for Gdi+. To see the different results possible, change the constant value in the variable lnEnumRotateFlip in the code below.
* Init GdiPlusX
DO LOCFILE("System.App")
LOCAL loBMP as xfcBitmapLOCAL lnEnumRotateFlip
WITH _SCREEN.System.Drawing
loBMP = .Bitmap.FromFile(GETPICT())
lnEnumRotateFlip = .RotateFlipType.Rotate90FlipNone && Try Changing this value for the presented below
loBmp.RotateFlip(lnEnumRotateFlip)
* To Save the Image as PNG
loBMP.Save("C:\RotateFlip.png", .Imaging.ImageFormat.Png)
ENDWITH
RUN /N explorer.EXE RotateFlip.png
RotateNoneFlipNone 0 
Rotate90FlipNone 1 
Rotate180FlipNone 2 
Rotate270FlipNone 3 
RotateNoneFlipX 4 
Rotate90FlipX 5 
Rotate180FlipX 6 
Rotate270FlipX 7 