Returns preferred mime-type and extension based on provided file’s extension and mime, or current file’s extension and mime.
wp_editor_set_quality
Filters the default image compression quality setting.
WP_Image_Editor::set_quality
Sets Image Compression quality on a 1-100% scale.
WP_Image_Editor::get_quality
Gets the Image Compression quality on a 1-100% scale.
Advertisement
WP_Image_Editor::update_size
Sets current image size.
WP_Image_Editor::get_size
Gets dimensions of image.
WP_Image_Editor::stream
Streams current image to browser.
WP_Image_Editor::rotate
Rotates current image counter-clockwise by $angle.
Advertisement
WP_Image_Editor::flip
Flips current image.
WP_Image_Editor::crop
Crops Image.
WP_Image_Editor::multi_resize
Resize multiple images from a single source.
WP_Image_Editor::save
Saves current image to file.
Advertisement
WP_Image_Editor::resize
Resizes current image.
WP_Image_Editor::load
Loads image from $this->file into editor.
WP_Image_Editor::supports_mime_type
Checks to see if editor supports the mime-type specified.