public class ConversionUtils extends Object
| Constructor and Description |
|---|
ConversionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
image2String(BufferedImage i)
Converts the given image to a base64 string.
|
static BufferedImage |
String2Image(String s)
Converts the given base64 string to an image.
|
public static String image2String(BufferedImage i) throws IOException
i - the image to convertIOException - DOCUMENT ME!public static BufferedImage String2Image(String s) throws IOException
s - the string to convert (a base64 representation of an image)IOException - DOCUMENT ME!Copyright © 2012–2025 cismet GmbH. All rights reserved.