I looked at buliasz Gdip when I started Snipper, it had many errors but that was before the 2023 updates. When I looked at it there was only the 2021 update.
- 2023-07-01 v1.57-60 - bug fixes
- 2023-04-19 v1.56 - compatible with AHK v2.0.2, Gdip_DrawLines fixed, gdip_toolbox improved, separated changelog
- 2021-12-19 v1.55 - compatibility with AHK v1 dropped, fixed compatibility with v2.0beta3 by buliasz
It looks better now and it is probably the most error free. But it still has errors and limitations though. An example of a limitation, Gdip_SaveBitmapToFile is missing the toBase64 parameter and code. It does have the Quality NumGet and NumPut arranged correctly but with different types than I came up with. I know my types work. Not sure about theirs, probably works either way. It has VarRef errors which is common in all the libraries because of changes from v2 beta to v2 release.
Marius Șucan has a good version too but again with errors. They have pulled code from many places and integrated it together, so tends to have the most capabilities. They do not appear to be updating.
My code is a mesh of code mostly from buliasz and Marius Șucan with some fixes and converted to a class. I did pull other sources on some functions like from ImagePut by iseahound. My code is also just the bare minimum functions need for Snipper and is nowhere near a complete library.
All and all, buliasz that you mentioned above is the best source for a Gdip v2 library if you had to pick just one source. It also has had the most recent activity.
FG