|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.coobird.thumbnailator.resizers.AbstractResizer net.coobird.thumbnailator.resizers.BilinearResizer
public class BilinearResizer
Image resizer class using bilinear interpolation for the resizing operation.
Constructor Summary | |
---|---|
BilinearResizer()
Instantiates a BilinearResizer with default rendering hints. |
|
BilinearResizer(Map<RenderingHints.Key,Object> hints)
Instantiates a BilinearResizer with the specified rendering
hints. |
Method Summary | |
---|---|
void |
resize(BufferedImage srcImage,
BufferedImage destImage)
Resizes an image using bilinear 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 BilinearResizer()
BilinearResizer
with default rendering hints.
public BilinearResizer(Map<RenderingHints.Key,Object> hints)
BilinearResizer
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 bilinear interpolation.
If the source and/or destination image is null
, then a
NullPointerException
will be thrown.
resize
in interface Resizer
resize
in class AbstractResizer
srcImage
- 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 |