[wp-trac] [WordPress Trac] #38832: WP_Image_Editor can no longer edit PDF pages other than the first one
WordPress Trac
noreply at wordpress.org
Fri Nov 18 22:21:21 UTC 2016
#38832: WP_Image_Editor can no longer edit PDF pages other than the first one
-----------------------------------+---------------------------
Reporter: mikeschroder | Owner: mikeschroder
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.7
Component: Media | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch 2nd-opinion | Focuses:
-----------------------------------+---------------------------
Changes (by mikeschroder):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"39303"]:
{{{
#!CommitTicketReference repository="" revision="39303"
Media: Allow override of PDF setup for multiple pages or DPI.
After [39187], WordPress started loading only the first page of a PDF.
This is appropriate for performance, but made it impossible to
write plugins that read other pages without overriding `load()`.
Introduces `WP_Image_Editor_Imagick->pdf_setup()`, to allow an override
to change WordPress' rendering DPI defaults or which pages are loaded.
Fixes #38832. See #38522, #31050.
Props markoheijnen, joemcgill, mikeschroder.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38832#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list