php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #73235 imagerotate() always ignores $ignore_transparent
Submitted: 2016-10-03 15:48 UTC Modified: 2017-08-16 16:30 UTC
From: cmb@php.net Assigned:
Status: Suspended Package: GD related
PHP Version: 5.6.26 OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
38 + 12 = ?
Subscribe to this entry?

 
 [2016-10-03 15:48 UTC] cmb@php.net
Description:
------------
As of PHP 5.5.0 the $ignore_transparent parameter of imagerotate()
is unused[1].

We can't fix this without patching the bundled libgd (what I'd
rather avoid), because it doesn't yet support the
ignoretransparent parameter for the general rotation functions[2].

Therefore I'm going to fix the documentation in this regard for
now.

[1] <https://github.com/php/php-src/commit/22159fb7#commitcomment-4616389>
[2] <https://github.com/libgd/libgd/issues/103>


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-10-03 16:34 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=340286
Log: Fix  #73235: imagerotate() always ignores $ignore_transparent

Well, we're not actually fixing the issue, but rather document the current state.
 [2016-10-04 09:34 UTC] cmb@php.net
-Status: Open +Status: Suspended -Assigned To: +Assigned To: cmb
 [2016-10-04 09:34 UTC] cmb@php.net
Suspending until solved upstream.
 [2017-08-16 16:30 UTC] cmb@php.net
-Assigned To: cmb +Assigned To:
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 10 15:01:35 2024 UTC