Please make GDI+ Become a official feature of AutoHotKey!! would be awesome
https://github.com/MasterFocus/AutoHotkey/tree/master/Functions/Gdip_ImageSearch
GDI Become Official Autohotkey
-
- Posts: 16
- Joined: 15 Jul 2021, 21:08
Re: GDI Become Official Autohotkey
I am against this, there are so many implementations of GDIp at this point and including any one wrapper would inevitably annoy people who have worked hard to write their own library and now need to combat the built in one.
Re: GDI Become Official Autohotkey
of all reasons not to include it, this has got to be the silliest one. users dont generally care about the grievances of devs one bit(because... why should they?)
also, ure already combatting the implementations of others "who have worked hard" anyway, so what difference does adding a built-in one in the mix make?
also, ure already combatting the implementations of others "who have worked hard" anyway, so what difference does adding a built-in one in the mix make?
Re: GDI Become Official Autohotkey
Yes you're right of course. I just thought I would say something lol
-
- Posts: 502
- Joined: 03 Dec 2018, 20:02
Re: GDI Become Official Autohotkey
Great idea! This will make AHK more popular in image manipulation for sure.
Re: GDI Become Official Autohotkey
To search in overlapped windows You dont need gdi+
Just need to change HDC hdc = GetDC(NULL) to HDC hdc = GetDC(hwnd)
https://github.com/Lexikos/AutoHotkey_L/blob/master/source/script2.cpp#L5012
Just need to change HDC hdc = GetDC(NULL) to HDC hdc = GetDC(hwnd)
https://github.com/Lexikos/AutoHotkey_L/blob/master/source/script2.cpp#L5012
Re: GDI Become Official Autohotkey
this won't work if the DWM isn't turned on (such as with Win7 with aero theme turned off), or if the window is a chrome-based window class such as skypemalcev wrote: ↑07 Oct 2021, 06:27To search in overlapped windows You dont need gdi+
Just need to change HDC hdc = GetDC(NULL) to HDC hdc = GetDC(hwnd)
https://github.com/Lexikos/AutoHotkey_L/blob/master/source/script2.cpp#L5012
Re: GDI Become Official Autohotkey
I dont remember about windows 7, but this method does not work not with chrome-based windows but with hardware accelerated windows.
With hardware accelerated windows We can try to run program without hardware acceleration or We can use printwindow with PW_RENDERFULLCONTENT flag (>=win8.1).
With hardware accelerated windows We can try to run program without hardware acceleration or We can use printwindow with PW_RENDERFULLCONTENT flag (>=win8.1).
Re: GDI Become Official Autohotkey
If We talk about chrome-based windows then We can try to run them with this cmd flag --disable-gpu.
Who is online
Users browsing this forum: No registered users and 8 guests