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
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: 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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 11:01:27 2024 UTC