Package | Description |
---|---|
org.xhtmlrenderer.util |
Modifier and Type | Method and Description |
---|---|
static java.awt.image.BufferedImage |
ImageUtil.getScaledInstance(ScalingOptions opt,
java.awt.image.BufferedImage orgImage)
Scales an image to the requested width and height, assuming these are both >= 1; size given in pixels.
|
static java.util.List |
ImageUtil.scaleMultiple(ScalingOptions opt,
java.awt.image.BufferedImage img,
java.util.List dimensions)
Scales one image to multiple dimensions, using the same ScalingOptions for each.
|