WP_Image_Editor_Imagick
- Since
- 3.5.0
- Source
wp-includes/class-wp-image-editor-imagick.php:16
WordPress Image Editor Class for Image Manipulation through Imagick PHP Module
Compatibility
- WordPress
- since 3.5.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Hooks and filters fired · 4
Every hook that fires from inside WP_Image_Editor_Imagick, in the order it appears in the class, grouped by the method that fires it.
WP_Image_Editor_Imagick::thumbnail_image()
- apply_filters( image_strip_meta )filter line 643
- apply_filters( image_max_bit_depth )filter line 801
WP_Image_Editor_Imagick::_save()
- apply_filters( image_save_progressive )filter line 1143
- apply_filters( image_make_intermediate_size )filter line 1174
Properties · 3
$imageImagickprotected- Imagick object.
$stream_file_datastring|nullprivate- Temporarily stores stream image data while processing internally.
$image_given_namestring|nullprivate- Temporarily stores the parsed given name for an image while processing internally.
Methods · 23
- __destruct()
- test()Checks to see if current environment supports Imagick.
- supports_mime_type()Checks to see if editor supports the mime-type specified.
- load()Loads image from $this->file into new Imagick Object.
- set_quality()Sets Image Compression quality on a 1-100% scale.
- update_size()Sets or updates current image size.
- set_imagick_time_limit()Sets Imagick time limit.
- resize()Resizes current image.
- thumbnail_image()Efficiently resize the current image
- multi_resize()Create multiple smaller images from a single source.
- make_subsize()Create an image sub-size and return the image meta data value for it.
- crop()Crops Image.
- rotate()Rotates current image counter-clockwise by $angle.
- flip()Flips current image.
- maybe_exif_rotate()Check if a JPEG image has EXIF Orientation tag and rotate it if needed.
- save()Saves current image to file.
- remove_pdf_alpha_channel()Removes PDF alpha after it's been read.
- _save()
- write_image()Writes an image to a file or stream.
- stream()Streams current image to browser.
- strip_meta()Strips all image meta except color profiles from an image.
- pdf_setup()Sets up Imagick for PDF processing.
- pdf_load_source()Load the image produced by Ghostscript.
Changelog
Introduced in 3.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, from
src/wp-includes/class-wp-image-editor-imagick.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it. - Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.