note 123717 added to function.imagegrabscreen

From: Date: Fri, 22 Mar 2019 14:45:55 +0000
Subject: note 123717 added to function.imagegrabscreen
Groups: php.notes 
Request: Send a blank email to php-notes+get-210424@lists.php.net to get a copy of this message
if you for whatever reason need this in Cygwin, this can be done with the library at https://github.com/divinity76/autoit_php - cygwin-compatible rough equivalent: <?php if(!function_exists("imagegrabscreen")){ function imagegrabscreen()/*:gd-resource*/{ require_once("autoit.class.php"); $au=new AutoIt(); $png_binary=$au->_ScreenCapture_Capture(); return imagecreatefromstring($png_binary); } } (note that unlike the real imagegrabscreen() , this function may throw a RuntimeException if there is a problem taking the picture, or if autoit.class.php cannot be loaded) ---- Server IP: 208.43.231.9 Probable Submitter: 185.85.3.142 (proxied: 85.167.76.209) ---- Manual Page -- http://php.net/manual/en/function.imagegrabscreen.php Edit -- https://master.php.net/note/edit/123717 Del: integrated -- https://master.php.net/note/delete/123717/integrated Del: useless -- https://master.php.net/note/delete/123717/useless Del: bad code -- https://master.php.net/note/delete/123717/bad+code Del: spam -- https://master.php.net/note/delete/123717/spam Del: non-english -- https://master.php.net/note/delete/123717/non-english Del: in docs -- https://master.php.net/note/delete/123717/in+docs Del: other reasons-- https://master.php.net/note/delete/123717 Reject -- https://master.php.net/note/reject/123717 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#210424) next »