Timber\ImageHelper::get_letterbox_file_path PHP Method

get_letterbox_file_path() public static method

public static get_letterbox_file_path ( $url, $w, $h, $color )
    public static function get_letterbox_file_path($url, $w, $h, $color)
    {
        $au = self::analyze_url($url);
        $op = new Image\Operation\Letterbox($w, $h, $color);
        $new_path = self::_get_file_path($au['base'], $au['subdir'], $op->filename($au['filename'], $au['extension']));
        return $new_path;
    }