php man page for imagegrabscreen

Query: imagegrabscreen

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

IMAGEGRABSCREEN(3)							 1							IMAGEGRABSCREEN(3)

imagegrabscreen - Captures the whole screen

SYNOPSIS
resource imagegrabscreen (void )
DESCRIPTION
Grabs a screenshot of the whole screen.
RETURN VALUES
Returns an image resource identifier on success, FALSE on failure.
EXAMPLES
Example #1 imagegrabscreen(3) example This example demonstrates how to take a screenshot of the current screen and save it as a png image. <?php $im = imagegrabscreen(); imagepng($im, "myscreenshot.png"); imagedestroy($im); ?>
NOTES
Note This function is only available on Windows.
SEE ALSO
imagegrabwindow(3). PHP Documentation Group IMAGEGRABSCREEN(3)
Related Man Pages
imagecreate(3) - php
imageflip(3) - php
imagepng(3) - php
imagesavealpha(3) - php
imagegrabwindow(3) - php
Similar Topics in the Unix Linux Community
Forum Video Tutorial: How to Use Code Tags
UNIX.COM 2017 Year End Summary
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch