public class ImageUtils extends Object
| Constructor and Description |
|---|
ImageUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
asDataURI(byte[] input) |
static byte[] |
convertToPNG(BufferedImage img) |
static byte[] |
extractImageData(String dataURI) |
static BufferedImage |
rescale(BufferedImage img,
int targetHeight) |
public static BufferedImage rescale(BufferedImage img, int targetHeight)
public static byte[] convertToPNG(BufferedImage img) throws IOException
IOExceptionpublic static String asDataURI(byte[] input)
public static byte[] extractImageData(String dataURI)
Copyright © 2015 Atlassian. All rights reserved.