Search found 3 matches

by ssjkakaroto
03 Nov 2019, 19:47
Forum: Gaming
Topic: a great performance hit when using Gdip_BitmapFromHWND(hwnd)
Replies: 9
Views: 1804

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
Topic: a great performance hit when using Gdip_BitmapFromHWND(hwnd)
Replies: 9
Views: 1804

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
Topic: is there an alternative imagesearch solution on gdip lib ?
Replies: 31
Views: 4327

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