public class KImageConverter
extends java.lang.Object
Constructor and Description |
---|
KImageConverter() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getImageBytes(java.lang.String image)
Converts an image to a formated string byte array.
|
static void |
makeImageFromBytes(byte[] image,
java.lang.String file)
Makes an image from byte
|
public static java.lang.String getImageBytes(java.lang.String image) throws java.lang.Exception
image
- the file containing the image.java.lang.Exception
public static void makeImageFromBytes(byte[] image, java.lang.String file) throws java.lang.Exception
image
- the image in a byte array formatfile
- the name of the file that will contained the formed imagejava.lang.Exception