浏览代码

Update README.md

disintegration 12 年之前
父节点
当前提交
25a403df28
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4 3
      README.md

+ 4 - 3
README.md

@@ -3,7 +3,8 @@
 Package imaging provides basic image manipulation functions 
 (resize, rotate, crop, etc.) as well as simplified image loading and saving.
 This package is based on the standard Go image package. All the image 
-manipulation functions provided by the package return a new image of 
+manipulation functions provided by the package take any type of image that 
+implements image.Image interface, and return a new image of 
 `*image.NRGBA` type (32 bit RGBA colors, not premultiplied by alpha). 
 
 ###Recent changes
@@ -62,6 +63,6 @@ func main() {
     dst = imaging.Paste(dst, src, image.Pt(50, 50)) // paste the src image to the dst image at the given position
     dst = imaging.PasteCenter(dst, src) // paste the src image to the center of the dst image
 
-    imaging.Save(dst, "dst.jpg") // save the image to file using jpeg format
+    imaging.Save(dst, "dst.jpg") // save the image to file
 }
-```
+```