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: 2021-08-25 11:58 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: cmb (profile)
Status: Wont fix Package: GD related
PHP Version: 5.2.11 OS: Windows
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
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

Pull Requests

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>
 [2021-08-25 11:58 UTC] cmb@php.net
-Status: Suspended +Status: Wont fix -Assigned To: +Assigned To: cmb
 [2021-08-25 11:58 UTC] cmb@php.net
Given the lack of further feedback and no RFC, I'm closing this as
WONTFIX.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC