public class LeptUtils
extends java.lang.Object
Constructor and Description |
---|
LeptUtils() |
Modifier and Type | Method and Description |
---|---|
static Pix |
convertImageToPix(java.awt.image.BufferedImage image)
Converts
BufferedImage to Leptonica Pix . |
static java.awt.image.BufferedImage |
convertPixToImage(Pix pix)
Converts Leptonica
Pix to BufferedImage . |
public static java.awt.image.BufferedImage convertPixToImage(Pix pix) throws java.io.IOException
Pix
to BufferedImage
.pix
- java.io.IOException
public static Pix convertImageToPix(java.awt.image.BufferedImage image) throws java.io.IOException
BufferedImage
to Leptonica Pix
.image
- java.io.IOException