Flips current image.
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.
Advertisement
WP_Image_Editor::get_quality
Gets the Image Compression quality on a 1-100% scale.
WP_Image_Editor::set_quality
Sets Image Compression quality on a 1-100% scale.
WP_Image_Editor::__construct
Each instance handles a single file.
WP_Image_Editor::get_extension
Returns first matched extension from Mime-type, as mapped from wp_get_mime_types()
Advertisement
WP_Image_Editor::get_mime_type
Returns first matched mime-type from extension, as mapped from wp_get_mime_types()
WP_Image_Editor::make_image
Either calls editor’s save function or handles file as a stream.
wp_image_maybe_exif_rotate
Filters the `$orientation` value to correct it before rotating or to prevemnt rotating the image.
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::generate_filename
Builds an output filename based on current file, and adding proper suffix
image_editor_default_mime_type
Filters default mime type prior to getting the file extension.