[wp-trac] [WordPress Trac] #13411: Add support for transparancy in wp_crop_image

WordPress Trac wp-trac at lists.automattic.com
Sun May 16 14:42:13 UTC 2010


#13411: Add support for transparancy in  wp_crop_image
-------------------------+--------------------------------------------------
 Reporter:  ocean90      |       Owner:     
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.1
Component:  Media        |     Version:     
 Severity:  normal       |    Keywords:     
-------------------------+--------------------------------------------------
 If you want to crop an image which is transparent, e.g. PNG, the
 background will be black. The reason is imagejpeg().[[BR]]
 Idea:[[BR]]
 Add a new bool parameter, if it's true then use imagepng().[[BR]]

 See also #13231.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13411>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list