Change Image Brightness with visual foxpro and GdPicture ActiveX
LOCAL Imaging
Imaging = CREATEOBJECT("gdpicturepro5.Imaging")
Imaging.SetLicenseNumber("0012345678910111213141516") &&Demo
code version
Imaging.CreateImageFromFile("c:\test.jpg")
Imaging.SetBrightness(10) &&Increase Brightness of 10%
Imaging.SaveAsJpeg("c:\test2.jpg", 80) &&Save
the result to c:\test2.jpg
RELEASE Imaging