Jump to content

_ScreenCapture_CaptureWnd


Go to solution Solved by GordonFreeman,

Recommended Posts

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

  • Solution

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...