浏览代码

Update README.md

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

+ 13 - 4
README.md

@@ -1,10 +1,19 @@
 # Imaging
 # Imaging
 
 
-Package imaging provides basic image manipulation functions as well as 
-simplified image loading and saving.
-
+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 
 This package is based on the standard Go image package. All the image 
-manipulation functions provided by the package return a new `*image.NRGBA`.
+manipulation functions provided by the package return a new image of 
+`*image.NRGBA` type. 
+
+###Recent changes
+
+- All the image manipulation functions now return `*image.NRGBA` instead of
+`draw.Image`.
+- `Copy()` function renamed to `Clone()`. 
+This function also can be used to convert any image type to *image.NRGBA for
+fast pixel access. (`.Pix` slice, `.PixOffset` method)
+
 
 
 ###Installation
 ###Installation