@package: Image_Editor
-
-
Checks to see if current environment supports Imagick.
-
Checks to see if editor supports the mime-type specified.
-
Filters default mime type prior to getting the file extension.
-
Builds an output filename based on current file, and adding proper suffix
-
Builds and returns proper suffix for file based on height and width.
-
Either calls editor’s save function or handles file as a stream.
-
Returns first matched mime-type from extension, as mapped from wp_get_mime_types()
-
Gets dimensions of image.
-
Returns first matched extension from Mime-type, as mapped from wp_get_mime_types()
-
Sets current image size.
-
Sets Image Compression quality on a 1-100% scale.
-
Filters the default image compression quality setting.
-
hookjpeg_quality
Filters the JPEG compression quality for backward-compatibility.
-
Returns preferred mime-type and extension based on provided file’s extension and mime, or current file’s extension and mime.
-
Resize multiple images from a single source.
-
methodWP_Image_Editor::crop()
Crops Image.
-
Rotates current image counter-clockwise by $angle.
-
methodWP_Image_Editor::flip()
Flips current image.
-
classWP_Image_Editor
Base image editor class from which implementations extend
-
Streams current image to browser.
-
Each instance handles a single file.
-
methodWP_Image_Editor::test()
Checks to see if current environment supports the editor chosen.
-
Checks to see if editor supports the mime-type specified.
-
methodWP_Image_Editor::load()
Loads image from $this->file into editor.
-
methodWP_Image_Editor::save()
Saves current image to file.
-
Resizes current image.
-
Returns stream of current image.
-
Either calls editor’s save function or handles file as a stream.
-