Resizes current image.
WP_Image_Editor_GD::multi_resize
Create multiple smaller images from a single source.
WP_Image_Editor_GD::crop
Crops Image.
WP_Image_Editor_GD::rotate
Rotates current image counter-clockwise by $angle.
Advertisement
WP_Image_Editor_GD::flip
Flips current image.
WP_Image_Editor_GD::save
Saves current in-memory image to file.
WP_Image_Editor_GD::stream
Returns stream of current image.
WP_Screen::in_admin
Indicates whether the screen is in a particular admin
Advertisement
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.
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()
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_Imagick::stream
Streams current image to browser.