Przeglądaj źródła

Update README.md

jst 11 lat temu
rodzic
commit
be07665345
1 zmienionych plików z 7 dodań i 0 usunięć
  1. 7 0
      README.md

+ 7 - 0
README.md

@@ -87,6 +87,13 @@ 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.
+* 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`. 
+
+
 Downsizing Samples
 -------