|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.coobird.thumbnailator.resizers.AbstractResizer
public abstract class AbstractResizer
A class which performs a resize operation on a source image and outputs the result to a destination image.
Method Summary | |
---|---|
Map<RenderingHints.Key,Object> |
getRenderingHints()
Returns the rendering hints that the resizer uses. |
void |
resize(BufferedImage srcImage,
BufferedImage destImage)
Performs a resize operation from a source image and outputs to a destination image. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void resize(BufferedImage srcImage, BufferedImage destImage)
Performs a resize operation from a source image and outputs to a destination image.
If the source or destination image is null
, then a
NullPointerException
will be thrown.
resize
in interface Resizer
srcImage
- The source image.destImage
- The destination image.
NullPointerException
- When the source and/or the destination
image is null
.public Map<RenderingHints.Key,Object> getRenderingHints()
The keys and values used for the rendering hints are those defined in
the RenderingHints
class.
RenderingHints
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |