From 15cb7dd71bcf5138d39b1e4827556f8c246c3364 Mon Sep 17 00:00:00 2001 From: Harald Kuhr Date: Thu, 31 Oct 2013 10:01:19 +0100 Subject: [PATCH] Updated readme. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d338c222..5cdb77c4 100644 --- a/README.md +++ b/README.md @@ -155,7 +155,7 @@ For more advanced usage, and information on how to use the ImageIO API, I sugges from Oracle. -### Using the ResampleOp +#### Using the ResampleOp The library comes with a resampling (image resizing) operation, that contains many different algorithms to provide excellent results at reasonable speed. @@ -170,7 +170,7 @@ to provide excellent results at reasonable speed. BufferedImageOp resampler = new ResampleOp(width, height, ResampleOp.FILTER_LANCZOS); // A good default filter, see class documentation for more info BufferedImage output = resampler.filter(input, null); -### Using the DiffusionDither +#### Using the DiffusionDither The library comes with a dithering operation, that can be used to convert `BufferedImage`s to `IndexColorModel` using Floyd-Steinberg error-diffusion dither.