nullschritt Posted March 8, 2015 Share Posted March 8, 2015 (edited) Hello, sorry I don't have any example code to share, but I'm having a small problem someone more proficient with GDI+ than I might know a solution. I need to convert binary directly into GDI+ bitmap, so I can put it on a window. I'm aware that I can do this by saving the binary to a file then loading the file with GDI, but the file read/write time adds to the processing time of the image. So, how do I turn binary into a GDI ready image? Thanks a BUNCH ahead of time, I'm so close to being finished with this project. ( : Edited March 8, 2015 by nullschritt Link to comment Share on other sites More sharing options...
markyrocks Posted March 8, 2015 Share Posted March 8, 2015 (edited) https://www.autoitscript.com/autoit3/docs/libfunctions/_GDIPlus_BitmapCreateFromMemory.htm Boom Edited March 8, 2015 by markyrocks Spoiler "I Believe array math to be potentially fatal, I may be dying from array math poisoning" Link to comment Share on other sites More sharing options...
nullschritt Posted March 8, 2015 Author Share Posted March 8, 2015 https://www.autoitscript.com/autoit3/docs/libfunctions/_GDIPlus_BitmapCreateFromMemory.htm Boom Awesome, problem solved, thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now