[wp-trac] Re: [WordPress Trac] #2805: Preserve PNG transparency/alpha during thumbnail creation

WordPress Trac wp-trac at lists.automattic.com
Mon Jul 30 16:17:37 GMT 2007


#2805: Preserve PNG transparency/alpha during thumbnail creation
----------------------------+-----------------------------------------------
 Reporter:  Libertus        |        Owner:  anonymous  
     Type:  defect          |       Status:  reopened   
 Priority:  normal          |    Milestone:  2.3 (trunk)
Component:  Administration  |      Version:  2.1        
 Severity:  normal          |   Resolution:             
 Keywords:                  |  
----------------------------+-----------------------------------------------
Changes (by Otto42):

  * milestone:  2.4 (future) => 2.3 (trunk)

Comment:

 Uploaded a simpler patch which should do the trick for trunk. Somebody
 test it out.

 This does need to be in trunk, IMO. Uploading transparent PNG files only
 to have it mangle their thumbnails is a pretty bad user experience. This
 is a simple patch that just sets some flags in the GD functions if those
 flags are available.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2805#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list