Opened 18 years ago
Closed 18 years ago
#9245 closed enhancement (fixed)
Inconsistent use of imagejpeg() calls - missing apply_filter
| Reported by: | DJPaul | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 2.8 |
| Component: | General | Version: | |
| Severity: | trivial | Keywords: | has-patch imagejpeg |
| Cc: | Focuses: |
Description
Hi
In /wp-admin/includes/image.php line 71, could you add a call to apply_filters as a third argument so we can control the quality of the image via plugin? This is already done elsewhere in Wordpress - see /wp-includes/media.php line 381. Thanks.
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
My patch adds a filter there, using the default quality of 90 used at the other imagejpeg call, and I included a second argument of context for both.