mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-03 11:35:29 -04:00
Updated readme.
This commit is contained in:
parent
3be5c1713b
commit
15cb7dd71b
@ -155,7 +155,7 @@ For more advanced usage, and information on how to use the ImageIO API, I sugges
|
|||||||
from Oracle.
|
from Oracle.
|
||||||
|
|
||||||
|
|
||||||
### Using the ResampleOp
|
#### Using the ResampleOp
|
||||||
|
|
||||||
The library comes with a resampling (image resizing) operation, that contains many different algorithms
|
The library comes with a resampling (image resizing) operation, that contains many different algorithms
|
||||||
to provide excellent results at reasonable speed.
|
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
|
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);
|
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
|
The library comes with a dithering operation, that can be used to convert `BufferedImage`s to `IndexColorModel` using
|
||||||
Floyd-Steinberg error-diffusion dither.
|
Floyd-Steinberg error-diffusion dither.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user