WP_Image_Editor_Imagick::save

Advertisement

Summery Summery

Saves current image to file.

Syntax Syntax

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

Parameters Parameters

$destfilename

(string) (Optional)

Default value: null

$mime_type

(string) (Optional)

Default value: null

Return Return

(array|WP_Error) 'path'=>string, 'file'=>string, 'width'=>int, 'height'=>int, 'mime-type'=>string

Source Source

File: wp-includes/class-wp-image-editor-imagick.php


			

Advertisement

Changelog Changelog

Changelog
Version Description
3.5.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.