|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.coobird.thumbnailator.resizers.AbstractResizer
net.coobird.thumbnailator.resizers.BicubicResizer
public class BicubicResizer
Image resizer class using bicubic interpolation for the resizing operation.
| Constructor Summary | |
|---|---|
BicubicResizer()
Instantiates a BicubicResizer with default rendering hints. |
|
BicubicResizer(Map<RenderingHints.Key,Object> hints)
Instantiates a BicubicResizer with the specified rendering hints. |
|
| Method Summary | |
|---|---|
void |
resize(BufferedImage srcImage,
BufferedImage destImage)
Resizes an image using bicubic interpolation. |
| Methods inherited from class net.coobird.thumbnailator.resizers.AbstractResizer |
|---|
getRenderingHints |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BicubicResizer()
BicubicResizer with default rendering hints.
public BicubicResizer(Map<RenderingHints.Key,Object> hints)
BicubicResizer with the specified rendering hints.
hints - Additional rendering hints to apply.| Method Detail |
|---|
public void resize(BufferedImage srcImage,
BufferedImage destImage)
throws NullPointerException
Resizes an image using bicubic interpolation.
If the source and/or destination image is null, then a
NullPointerException will be thrown.
resize in interface Resizerresize in class AbstractResizersrcImage - The source image.destImage - The destination image.
NullPointerException - When the source and/or the destination
image is null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||