|
|||||||||
| 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.ProgressiveBilinearResizer
public class ProgressiveBilinearResizer
A Resizer which performs resizing operations by using
progressive bilinear scaling.
The resizing technique used in this class is based on the technique discussed in Chapter 4: Images of Filthy Rich Clients by Chet Haase and Romain Guy.
The actual implemenation of the technique is independent of the code which is provided in the book.
| Constructor Summary | |
|---|---|
ProgressiveBilinearResizer()
Instantiates a ProgressiveBilinearResizer with default
rendering hints. |
|
ProgressiveBilinearResizer(Map<RenderingHints.Key,Object> hints)
Instantiates a ProgressiveBilinearResizer with the specified
rendering hints. |
|
| Method Summary | |
|---|---|
void |
resize(BufferedImage srcImage,
BufferedImage destImage)
Resizes an image using the progressive bilinear scaling technique. |
| 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 ProgressiveBilinearResizer()
ProgressiveBilinearResizer with default
rendering hints.
public ProgressiveBilinearResizer(Map<RenderingHints.Key,Object> hints)
ProgressiveBilinearResizer with the specified
rendering hints.
hints - Additional rendering hints to apply.| Method Detail |
|---|
public void resize(BufferedImage srcImage,
BufferedImage destImage)
throws NullPointerException
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 | ||||||||