TestTimberImage::is_png PHP Method

is_png() public static method

public static is_png ( $file )
    public static function is_png($file)
    {
        $file = strtolower($file);
        if (strpos($file, '.png') > 0) {
            return true;
        }
        return false;
    }