[wp-trac] [WordPress Trac] #13461: Preserve GIF transparency/alpha during thumbnail creation
WordPress Trac
wp-trac at lists.automattic.com
Thu Jul 12 00:29:02 UTC 2012
#13461: Preserve GIF transparency/alpha during thumbnail creation
-----------------------------------------------+--------------------
Reporter: javitxu123 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.5
Component: Media | Version: 2.9.2
Severity: normal | Resolution:
Keywords: has-patch needs-testing 3.5-early |
-----------------------------------------------+--------------------
Comment (by SergeyBiryukov):
Replying to [comment:12 n3k4]:
> I've used this before to preserve transparencies for .png and .gif;
Thanks for the hint, that's much simpler and seemingly works as well.
Not sure if the new `function_exists()` checks are necessary, since
`imagecreatetruecolor()` call doesn't have one, but added them just in
case.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13461#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list