public class ImageOptimizer extends Object
| Constructor and Description |
|---|
ImageOptimizer() |
| Modifier and Type | Method and Description |
|---|---|
static File |
optimize(BufferedImage bufferedImage,
float quality,
int dpi,
int width,
int height,
boolean gray)
Takes an image and creates an optimized version of it.
|
public static File optimize(BufferedImage bufferedImage, float quality, int dpi, int width, int height, boolean gray) throws IOException
IOExceptionCopyright © 2019 sejda. All rights reserved.