Opened 17 years ago
Closed 14 years ago
#13411 closed enhancement (fixed)
Add support for transparancy in wp_crop_image
| Reported by: | ocean90 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Media | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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