Bug #73235 [NEW]: imagerotate() always ignores $ignore_transparent

From: Date: Mon, 03 Oct 2016 15:48:55 +0000
Subject: Bug #73235 [NEW]: imagerotate() always ignores $ignore_transparent
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-204422@lists.php.net to get a copy of this message
From:             cmb
Operating system: *
PHP version:      5.6.26
Package:          GD related
Bug Type:         Bug
Bug description:imagerotate() always ignores $ignore_transparent

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>


-- 
Edit bug report at https://bugs.php.net/bug.php?id=73235&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=73235&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=73235&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=73235&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=73235&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=73235&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=73235&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=73235&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=73235&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=73235&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=73235&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=73235&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=73235&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=73235&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73235&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=73235&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=73235&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=73235&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=73235&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=73235&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=73235&r=mysqlcfg



Thread (2 messages)

« previous php.bugs (#204422) next »