GC_Image_Editor::save()

最后更新于:2021-11-27 23:36:54

GC_Image_Editor::save( string$destfilename=null, string$mime_type=null)

Saves current image to file.

参数

$destfilename

(string) (Optional)

Default value: null

$mime_type

(string) (Optional)

Default value: null

响应

(array|GC_Error) ‘path’=>string, ‘file’=>string, ‘width’=>int, ‘height’=>int, ‘mime-type’=>string

源文件

文件: gc-includes/class-gc-image-editor.php

	abstract public function save( $destfilename = null, $mime_type = null );