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 screenSYNOPSISresource imagegrabscreen (void )DESCRIPTIONGrabs a screenshot of the whole screen.RETURN VALUESReturns an image resource identifier on success, FALSE on failure.EXAMPLESExample #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); ?>NOTESNote This function is only available on Windows.SEE ALSOimagegrabwindow(3). PHP Documentation Group IMAGEGRABSCREEN(3)
Related Man Pages |
---|
imagegif(3) - php |
imagepng(3) - php |
imagegrabwindow(3) - php |
imagepalettecopy(3) - php |
imagesetbrush(3) - php |
Similar Topics in the Unix Linux Community |
---|
User Guide: Posting in the Emergency Forum |
Forum Video Tutorial: How to Use Code Tags |
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1) |
Please Welcome Don Cragun as Lead Moderator |