Lightweight IMage-browser for PHP 3.0 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News Lightweight IMage-browser for PHP 3.0 (Default branch)
# 1  
Old 01-07-2009
Lightweight IMage-browser for PHP 3.0 (Default branch)

Image LIMP is a Lightweight Image browser for PHP. It requires no database or complex setup; simply upload and go. It supports "albums" in subdirectories and generates thumbnails automatically. License: GNU General Public License (GPL) Changes:
Near-complete rewrite. New design and implementation. Image

Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
IMAGEGRABWINDOW(3)							 1							IMAGEGRABWINDOW(3)

imagegrabwindow - Captures a window

SYNOPSIS
resource imagegrabwindow (int $window_handle, [int $client_area]) DESCRIPTION
Grabs a window or its client area using a windows handle (HWND property in COM instance) PARAMETERS
o $window_handle - The HWND window ID. o $client_area - Include the client area of the application window. RETURN VALUES
Returns an image resource identifier on success, FALSE on failure. ERRORS
/EXCEPTIONS E_NOTICE is issued if $window_handle is invalid window handle. E_WARNING is issued if the Windows API is too old. EXAMPLES
Example #1 imagegrabwindow(3) example Capture a window (IE for example) <?php $browser = new COM("InternetExplorer.Application"); $handle = $browser->HWND; $browser->Visible = true; $im = imagegrabwindow($handle); $browser->Quit(); imagepng($im, "iesnap.png"); imagedestroy($im); ?> Capture a window (IE for example) but with its content <?php $browser = new COM("InternetExplorer.Application"); $handle = $browser->HWND; $browser->Visible = true; $browser->Navigate("http://www.libgd.org"); /* Still working? */ while ($browser->Busy) { com_message_pump(4000); } $im = imagegrabwindow($handle, 0); $browser->Quit(); imagepng($im, "iesnap.png"); imagedestroy($im); ?> NOTES
Note This function is only available on Windows. SEE ALSO
imagegrabscreen(3). PHP Documentation Group IMAGEGRABWINDOW(3)