Saves current image to file.
Parameters
$destfilename
stringoptional- Destination filename.
Default:
null
$mime_type
stringoptional- The mime-type.
Default:
null
Source
abstract public function save( $destfilename = null, $mime_type = null );
Saves current image to file.
$destfilename
stringoptionalDefault:null
$mime_type
stringoptionalDefault:null
abstract public function save( $destfilename = null, $mime_type = null );
You must log in before being able to contribute a note or feedback.
Uppercase extension
Due to the presence of a
strtolower
inWP_Image_Editor::generate_filename
, there can be issues with uppercase file extensions on linux-like system.