From 5389d2694d65f6b55cf7dae48d1cbbc303b50346 Mon Sep 17 00:00:00 2001 From: jst Date: Thu, 9 Aug 2012 19:04:04 +0200 Subject: [PATCH] Fix errors in README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ff3f40e..35f3da2 100644 --- a/README.md +++ b/README.md @@ -21,11 +21,11 @@ Import package with import "github.com/nfnt/resize" ``` -Resize creates a scaled image with new dimensions (`width`, `height`) using the interpolation function interp. +Resize creates a scaled image with new dimensions (`width`, `height`) using the interpolation function `interp`. If either `width` or `height` is set to 0, it will be set to an aspect ratio preserving value. ```go -resize.Resize(width, height uint, img image.Image, interp resize.InterpolationFunction) image.Image, error +resize.Resize(width, height uint, img image.Image, interp resize.InterpolationFunction) image.Image ``` The provided interpolation functions are