Opened 14 years ago
Closed 12 years ago
#13411 closed enhancement (fixed)
Add support for transparancy in wp_crop_image
Reported by: | ocean90 | Owned by: | |
---|---|---|---|
Milestone: | 3.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Media | Keywords: | |
Focuses: | Cc: |
Description
If you want to crop an image which is transparent, e.g. PNG, the background will be black. The reason is imagejpeg().
Idea:
Add a new bool parameter, if it's true then use imagepng().
See also #13231.
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Related: #13461