diff --git a/README.md b/README.md index c29b793..81bf13d 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,54 @@ func main() { } ``` +Downsizing Samples +------- + +Downsizing is not as simple as it might look like. Images have to be filtered before they are scaled down, otherwise aliasing might occur. +Filtering is highly subjective: Applying too much will blur the whole image, too little will make aliasing become apparent. +Resize tries to provide sane defaults that should suffice in most cases. + +### Artificial sample + +Original image +![Rings](http://nfnt.github.com/img/rings_lg_orig.png) + +
![]() Nearest-Neighbor |
+![]() Bilinear |
+
---|---|
![]() Bicubic |
+![]() Mitchell-Netravali |
+
![]() Lanczos2 |
+![]() Lanczos3 |
+
![]() Nearest-Neighbor |
+![]() Bilinear |
+
---|---|
![]() Bicubic |
+![]() Mitchell-Netravali |
+
![]() Lanczos2 |
+![]() Lanczos3 |
+