DLXS Posted April 5, 2014 Share Posted April 5, 2014 Hi everyone, Is it possible to store in memory the screenshot (and look for a pixel later using GDIPlus) instead of saving it into a file? Just wondering if it makes sense and/or if it's possible to not store the screenshots into a file, as I will have to remove them later (if it's not possible then I will have to do it this way ofc). Thanks!! Link to comment Share on other sites More sharing options...
Solution GordonFreeman Posted April 5, 2014 Solution Share Posted April 5, 2014 (edited) Yes, but i think you need make the image appears on gui to look for the pixel.. or maybe not (with GDI+). Return Value Returns a handle to an HBITMAP if $sFileName is empty. If called with $sFileName then the image is saved to the file and nothing is returned. You can work with the handle. As I am not good with pictures can not tell whether it is possible to locate the pixel without it appear on the screen. But some moderator can answer more accurately Edited April 5, 2014 by GordonFreeman Frabjous Installation Link to comment Share on other sites More sharing options...
DLXS Posted April 5, 2014 Author Share Posted April 5, 2014 I see, thanks a lot! Then I will just save the image and that's it. 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