Returns first matched extension from Mime-type, as mapped from wp_get_mime_types()
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.
Advertisement
WP_Image_Editor::maybe_exif_rotate
Check if a JPEG image has EXIF Orientation tag and rotate it if needed.
WP_Image_Editor::make_image
Either calls editor’s save function or handles file as a stream.
WP_Image_Editor::get_mime_type
Returns first matched mime-type from extension, as mapped from wp_get_mime_types()
WP_Image_Editor::resize
Resizes current image.
Advertisement
WP_Image_Editor::multi_resize
Resize multiple images from a single source.
WP_Image_Editor::crop
Crops Image.
WP_Image_Editor::rotate
Rotates current image counter-clockwise by $angle.
WP_Image_Editor::flip
Flips current image.
Advertisement
WP_Image_Editor::stream
Streams current image to browser.
WP_Image_Editor::get_size
Gets dimensions of image.
WP_Image_Editor::update_size
Sets current image size.