public function load() { if ( $this->image instanceof Imagick
) { return true;
} if ( !
is_file( $this->file
) && !
wp_is_stream( $this->file
) ) { return new WP_Error( 'error_loading_image',
__( 'File does not exist?'
),
$this->file
);
} /*
* Even though Imagick uses less PHP memory than GD, set higher limit
* for users that have low PHP.ini limits.
*/
wp_raise_memory_limit( 'image'
);
try { $this->image =
new Imagick();