Sign in to follow this  
Followers 0
DLXS

_ScreenCapture_CaptureWnd

3 posts in this topic

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!!

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by GordonFreeman

Share this post


Link to post
Share on other sites

I see, thanks a lot! Then I will just save the image and that's it.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0