WordPress.org

Make WordPress Core

Opened 2 hours ago

#42663 new enhancement

Imagick support for stream wrappers

Reported by: calin Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: trunk
Component: Media Keywords:
Focuses: Cc:

Description

The current implementation of imagick backend doesn't support stream wrappers. In order to support them readImageFile and writeImageFile methods must be used instead of readImage and writeImage. The methods were added in ImageMagick module 2.3.0.

This patch uses stream wrapper compatible functions if they are available.

Attachments (1)

imagick.diff (2.1 KB) - added by calin 2 hours ago.

Download all attachments as: .zip

Change History (1)

@calin
2 hours ago

Note: See TracTickets for help on using tickets.