WP_Image_Editor_Imagick
class WP_Image_Editor_Imagick
// Constructor: function Object() { [native code] } WordPress Image Editor Class for Image Manipulation through Imagick PHP Module
Methods 23 methods
| Method / Return | Description |
|---|---|
| __destruct() void | No description available. |
| test() bool | Checks to see if current environment supports Imagick.
Parameters: $args: mixed |
| supports_mime_type() bool | Checks to see if editor supports the mime-type specified.
Parameters: $mime_type: mixed |
| load() (true | Loads image from $this->file into new Imagick Object. |
| set_quality() (true | Sets Image Compression quality on a 1-100% scale.
Parameters: $quality: mixed, $dims: mixed |
| update_size() (true | Sets or updates current image size.
Parameters: $width: mixed, $height: mixed |
| set_imagick_time_limit() (int | Sets Imagick time limit. |
| resize() (true | Resizes current image.
Parameters: $max_w: mixed, $max_h: mixed, $crop: mixed |
| thumbnail_image() (void | Efficiently resize the current image
Parameters: $dst_w: mixed, $dst_h: mixed, $filter_name: mixed, $strip_meta: mixed |
| multi_resize() array | Create multiple smaller images from a single source.
Parameters: $sizes: mixed |
| make_subsize() (array | Create an image sub-size and return the image meta data value for it.
Parameters: $size_data: mixed |
| crop() (true | Crops Image.
Parameters: $src_x: mixed, $src_y: mixed, $src_w: mixed, $src_h: mixed, $dst_w: mixed, $dst_h: mixed, $src_abs: mixed |
| rotate() (true | Rotates current image counter-clockwise by $angle.
Parameters: $angle: mixed |
| flip() (true | Flips current image.
Parameters: $horz: mixed, $vert: mixed |
| maybe_exif_rotate() (bool | Check if a JPEG image has EXIF Orientation tag and rotate it if needed. |
| save() (array | Saves current image to file.
Parameters: $destfilename: mixed, $mime_type: mixed |
| remove_pdf_alpha_channel() void | Removes PDF alpha after it's been read. |
| _save() (array | No description available.
Parameters: $image: mixed, $filename: mixed, $mime_type: mixed |
| write_image() (true | Writes an image to a file or stream.
Parameters: $image: mixed, $filename: mixed |
| stream() (true | Streams current image to browser.
Parameters: $mime_type: mixed |
| strip_meta() (true | Strips all image meta except color profiles from an image. |
| pdf_setup() (string | Sets up Imagick for PDF processing. |
| pdf_load_source() (true | Load the image produced by Ghostscript. |
Properties
| Property / Type | Description |
|---|---|
| $image mixed public | No description available. |