roundcubemail/program/lib/Roundcube/rcube_image.php
public static function is_convertable($mimetype = null)
    {
        $rcube = rcube::get_instance();

        // @TODO: check if specified mimetype is really supported
        return class_exists('Imagick', false) || $rcube->config->get('im_convert_path');
    }
public static function is_convertable($mimetype = null)
    {
        $rcube = rcube::get_instance();

        // @TODO: check if specified mimetype is really supported
        return class_exists('Imagick', false) || $rcube->config->get('im_convert_path');
    }
public static function is_convertable ( $ mimetype = null ) { $ rcube = rcube :: get_instance ( ) ; // @TODO: check if specified mimetype is really supported return class_exists ( 'Imagick' , false ) || $ rcube -> config -> get ( 'im_convert_path' ) ; }
Checks if image format conversion is supported

@return boolean True if specified format can be converted to another format
Checks if image format conversion is supported