Checks to see if current environment supports Imagick.
WP_Image_Editor_Imagick::supports_mime_type
Checks to see if editor supports the mime-type specified.
WP_Image_Editor_Imagick::load
Loads image from $this->file into new Imagick Object.
WP_Image_Editor_Imagick::set_quality
Sets Image Compression quality on a 1-100% scale.
Advertisement
WP_Image_Editor_GD::test
Checks to see if current environment supports GD.
WP_Image_Editor_GD::supports_mime_type
Checks to see if editor supports the mime-type specified.
WP_Image_Editor_GD::load
Loads image from $this->file into new GD Resource.
WP_Screen::in_admin
Indicates whether the screen is in a particular admin
Advertisement
WP_Image_Editor::get_output_format
Returns preferred mime-type and extension based on provided file’s extension and mime, or current file’s extension and mime.
WP_Image_Editor::generate_filename
Builds an output filename based on current file, and adding proper suffix
WP_Image_Editor::get_suffix
Builds and returns proper suffix for file based on height and width.
WP_Image_Editor::make_image
Either calls editor’s save function or handles file as a stream.
Advertisement
WP_Image_Editor::get_mime_type
Returns first matched mime-type from extension, as mapped from wp_get_mime_types()
WP_Image_Editor::get_extension
Returns first matched extension from Mime-type, as mapped from wp_get_mime_types()
WP_Image_Editor::rotate
Rotates current image counter-clockwise by $angle.