Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
capture screen and manupulation with FreeImage.dll
#4
Try this:
Code:
Copy      Help
function str'fileName

opt err 1
#compile "__FreeImage"
FI_ShowMoreErrorInfo
FiBitmap x y
__GdiHandle hb
if(empty(fileName)) fileName = "c:\test.jpg"
CaptureImageOnScreen 1 1 1119 680 "" hb;err ret
x.FromHBITMAP(hb)
y.Attach(FIMG.FreeImage_ColorQuantizeEx(x,0,16,0,0))
y.Save(FIMG.FIF_JPEG fileName)


Messages In This Thread
RE: capture screen and manupulation with FreeImage.dll - by Start_Learning - 08-03-2020, 12:49 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)