public class ImageShrinker
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ImageShrinker.ImageShrinkerException |
| Constructor and Description |
|---|
ImageShrinker() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkIfShrinkingIsSupported(java.lang.String extension) |
static void |
main(java.lang.String[] args) |
static byte[] |
shrinkImage(byte[] bytes,
int width,
int height,
float quality,
java.lang.String format) |
static byte[] |
shrinkImage(byte[] bytes,
int width,
int height,
java.lang.String format) |
static byte[] |
sizeImage(byte[] bytes,
int width,
int height,
float quality,
java.lang.String format,
boolean keepRatio,
boolean onlyShrkinking) |
public static boolean checkIfShrinkingIsSupported(java.lang.String extension)
public static byte[] shrinkImage(byte[] bytes,
int width,
int height,
java.lang.String format)
throws ImageShrinker.ImageShrinkerException
public static byte[] shrinkImage(byte[] bytes,
int width,
int height,
float quality,
java.lang.String format)
throws ImageShrinker.ImageShrinkerException
public static byte[] sizeImage(byte[] bytes,
int width,
int height,
float quality,
java.lang.String format,
boolean keepRatio,
boolean onlyShrkinking)
throws ImageShrinker.ImageShrinkerException
public static void main(java.lang.String[] args)
Copyright © CaptainCasa Gmbh. All Rights Reserved.