php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #50100 Proposal to add arguments to imagegrabscreen()
Submitted: 2009-11-06 12:40 UTC Modified: 2017-01-22 23:50 UTC
Votes:4
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: ganswijk at xs4all dot nl Assigned:
Status: Suspended Package: GD related
PHP Version: 5.2.11 OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ganswijk at xs4all dot nl
New email:
PHP Version: OS:

 

 [2009-11-06 12:40 UTC] ganswijk at xs4all dot nl
Description:
------------
Could you add optional arguments to imagegrabscreen()?

I propose:
imagegrabscreen(int posx, posy, sizex, sizey);

This would enable grabbing only part of the screen.

The purpose is to make the function faster. I have a 1920x1200 screen and it takes 1 to 2 seconds and I only need to grab a small part of the screen.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-12-28 12:44 UTC] jani@php.net
-Package: Feature/Change Request +Package: GD related
 [2017-01-22 23:50 UTC] cmb@php.net
-Status: Open +Status: Suspended
 [2017-01-22 23:50 UTC] cmb@php.net
In my opinion, this feature request requires the RFC process[1],
thus suspending this ticket.

Personally, I'm opposed to extend the capabilities of
imagegrabscreen(), and imagegrabwindow(), for that matter, because
neither is portable.

[1] <https://wiki.php.net/rfc/howto>
 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Wed Nov 21 00:01:26 2018 UTC