Mention optimized access for image.NRGBA, image.NRGBA64 in README.

This commit is contained in:
nfnt 2015-05-12 15:47:43 +02:00
parent 45c239597b
commit 03c3eb7832
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ func main() {
Caveats
-------
* Optimized access routines are used for `image.RGBA`, `image.RGBA64`, `image.YCbCr`, `image.Gray`, and `image.Gray16` types. All other image types are accessed in a generic way that will result in slow processing speed.
* Optimized access routines are used for `image.RGBA`, `image.NRGBA`, `image.RGBA64`, `image.NRGBA64`, `image.YCbCr`, `image.Gray`, and `image.Gray16` types. All other image types are accessed in a generic way that will result in slow processing speed.
* JPEG images are stored in `image.YCbCr`. This image format stores data in a way that will decrease processing speed. A resize may be up to 2 times slower than with `image.RGBA`.