Search found 5 matches

by ssjkakaroto
24 Aug 2023, 07:35
Forum: Scripts and Functions (v1)
Topic: GDI+ standard library 1.45 by tic
Replies: 441
Views: 273843

Re: GDI+ standard library 1.45 by tic

Sorry for the late reply. It's now working with 1.96, thank you for the fast fix!

The command was simple:

Code: Select all

Gdip_SaveBitmapToFile(Haystack, "haystack.bmp")
by ssjkakaroto
21 Aug 2023, 11:08
Forum: Scripts and Functions (v1)
Topic: GDI+ standard library 1.45 by tic
Replies: 441
Views: 273843

Re: GDI+ standard library 1.45 by tic

Hello, are any of the changes made to Gdip_SaveBitmapToFile after 1.93 incompatible with Windows 7 x64?
I have a script that works perfectly with 1.93, outputting a bitmap file to the hard disk, but with 1.94, 1.94.1 and 1.95 it just creates an empty file.
by ssjkakaroto
03 Nov 2019, 19:47
Forum: Gaming Help (v1)
Topic: a great performance hit when using Gdip_BitmapFromHWND(hwnd)
Replies: 9
Views: 2771

Re: a great performance hit when using Gdip_BitmapFromHWND(hwnd)

I tried it with many sleep values, only at 1000 I could get it back to ~50 fps. I don't know why pixelsearch was so slow here. My GDI+ script was actually suggested by OP on another forum, he just didn't update it here. With it the game runs steadily at 60 fps (vsync on). I used an alternative Gdip_...
by ssjkakaroto
03 Nov 2019, 11:19
Forum: Gaming Help (v1)
Topic: a great performance hit when using Gdip_BitmapFromHWND(hwnd)
Replies: 9
Views: 2771

Re: a great performance hit when using Gdip_BitmapFromHWND(hwnd)

@Xtra for some reason I get a huge performance hit using pixelsearch/pixelgetcolor with D3. On the other hand, using Gdi+ doesn't affect the game's performance at all.
by ssjkakaroto
03 Nov 2019, 11:12
Forum: Ask for Help (v1)
Topic: is there an alternative imagesearch solution on gdip lib ?
Replies: 31
Views: 8588

Re: is there an alternative imagesearch solution on gdip lib ?

Thanks @malcev.
Is it possible to use this method to capture a specific hwnd instead of the whole screen? Can just a small portion of the window/screen be captured? Instead of SavePixelsToFile32bppPBGRA, what should I use to keep the image as a bitmap in memory for use with Gdip_ImageSearch?

Go to advanced search