bgd.dll / imagegrabwindow

[email protected] (Massimo Sala) Tue, 6 Oct 2009 00:33:37 +0200
Newsgroups php.gd.devel
Message-ID <[email protected]>
Hi!

Excellent work for GD and the bgd.dll for win32.

Proposal: can you please add also the imagegrabwindow API ?

In many cases the image is already created on a window.

I wish to use bgd.dll only to save the image to file, and the PHP / GD
imagegrabwindow  is fantastic :
   resource imagegrabwindow ( int $window [, int $client_area = 0 ] )
   Grabs a window or its client area using a windows handle (HWND
property in COM instance)

I don't know if this function is really a GD or a PHP child... but I
think it is very useful, and doing it in Visual Basic 6 is a pain.

My proposal : grab the code from the PHP / GD cvs (if the license
permits !) and compile it into bgd.dll.
A little effort for a big goal !

ciao, Massimo
@ITALY