Jump to content

Recommended Posts

Posted (edited)


The fact that I take a screenshot and keep it on the disk consumes a lot of time. Is there any solution to have this in binary mode, faster?
Thanks!

This is working:

#include <ScreenCapture.au3>

$File = @ScriptDir & "\img.jpg"
_ScreenCapture_Capture($File)

$hfile = FileOpen($File, 16)
$data = FileRead($hfile)

ConsoleWrite("binary img: " & $data & @CRLF)

 

But, I try with :

 

#include <ScreenCapture.au3>


$hfile = FileOpen(_ScreenCapture_Capture(), 16)
$data = FileRead($hfile)

ConsoleWrite("binary img: " & $data & @CRLF)




And not working...

Edited by zenmark22

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
  • Recently Browsing   0 members

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