I'm working on a C++ program that uses GDI+, and I'm totally struggling. This is by far one of the most cryptic APIs I've ever worked with; documentation exists, but trying to learn off that is like trying to memorize Wikipedia's entire database.
![Lol, No :lolno:](./images/smilies/icon_lolno.gif)
So I have 2 questions for all you GDI+ wizards out there:
1. Can anyone recommend a good tutorial for the GDI+ API?
I'm thinking less Wikipedia, more tutorial-like. Even if there is no clear-cut set of instructions or step-by-step explanations, at least a good high-level overview of what the main objects are (HDCs, Bitmap class, BitmapData class etc. etc. etc. etc. ) and how they are meant to interact with each other. If there really is no such material, and the only way is pouring over page after page on MSDN/Google and hoping for the best, then my next question would be:
2. How does gdip.ahk compare?
Some phenomenal mega-genius has already cracked the cipher that is GDI+, and even exposed it to AHK. That's fantastic, and thanks to whoever you are.
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
But the whole reason I'm using GDI+ for this project is it needs to be fast, and faster than PixelSearch and PixelGetColor can go. It's only reading the image (no writing), but getting all those pixels' colors takes time. My C++ program so far can read a 1000x500 bitmap into its memory in like 0.02 seconds. That's amazing, and that's the kind of speed we're talking about here. So how does gdip.ahk compare to that? I know C++ pretty well, but I've been rockin the AHK for over 2 years now - so if I can get this done in AHK that would be awesome.
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
Thanks.