php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #50826 GD: Add the "get values" function
Submitted: 2010-01-22 17:13 UTC Modified: 2018-04-03 21:27 UTC
From: pcfrr at yopmail dot com Assigned:
Status: Not a bug Package: GD related
PHP Version: 5.3.1 OS: *
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: pcfrr at yopmail dot com
New email:
PHP Version: OS:

 

 [2010-01-22 17:13 UTC] pcfrr at yopmail dot com
Description:
------------
Hi, I 'spoke' with Pierre in libgd's chat.
I answered if exist the function to GET the values of thickness, color, size, but maybe this isn?t.

He 'said' me put the bug here.

Reproduce code:
---------------
If imagesetthickness($this->im, 2); after how I can GET the thickness?
maybe this function not exist.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-04-26 12:28 UTC] pajoye@php.net
-Package: Feature/Change Request +Package: GD related -Operating System: Win +Operating System: *
 [2010-05-18 10:48 UTC] kalle@php.net
I would suggest we redesigned the GD extension instead of having alot getters and setters but perhaps something more abstract like:
imageset($im, IMAGE_THICKNESS, 5);

echo imageget($im, IMAGE_THICKNESS); /* 5 */
 [2010-05-18 11:29 UTC] pajoye@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: pajoye
 [2010-05-18 11:29 UTC] pajoye@php.net
Have a slightly different patch, will apply it soonish to trunk.
 [2017-10-24 07:31 UTC] kalle@php.net
-Status: Assigned +Status: Open -Assigned To: pajoye +Assigned To:
 [2018-04-03 21:12 UTC] cmb@php.net
-Status: Open +Status: Suspended
 [2018-04-03 21:12 UTC] cmb@php.net
Unfortunately, the OP is lost, and I don't know what this is
really about, but it seems that it's a change which would require
some discussion on the internals@ mailing list, and perhaps an
RFC[1].  Please go on and start it!  For the time being, I'm
suspending this ticket.

[1] <https://wiki.php.net/rfc/howto>
 [2018-04-03 21:27 UTC] requinix@php.net
-Status: Suspended +Status: Not a bug
 [2018-04-03 21:27 UTC] requinix@php.net
The bugs list email has the original copy.
Upstream GD doesn't have a gdImageGetThickness so PHP "can't" do it. That would have to be added first. So NAB.


Description:
------------
Hi, I 'spoke' with Pierre in libgd's chat.
I answered if exist the function to GET the values of thickness, color, size, but maybe this isn“t.

He 'said' me put the bug here.

Reproduce code:
---------------
If imagesetthickness($this->im, 2); after how I can GET the thickness?
maybe this function not exist.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 21:01:27 2025 UTC