From be07665345c75eb9e3e97df744e8f29f1148395d Mon Sep 17 00:00:00 2001 From: jst Date: Sat, 19 Jul 2014 14:00:14 +0200 Subject: [PATCH] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 0c58212..88f460d 100644 --- a/README.md +++ b/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 -------