Package org.km3net.clb
Class ImageTools
- java.lang.Object
-
- org.km3net.clb.ImageTools
-
public final class ImageTools extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ImageTools()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ImageInfo
getImageInfo(byte[] data)
static ImageInfo
getImageInfo(java.io.File file)
static ImageWithInfo
getImageWithInfo(byte[] data)
static ImageWithInfo
getImageWithInfo(java.io.File file)
static byte[]
readFully(java.io.File file)
-
-
-
Method Detail
-
getImageInfo
public static ImageInfo getImageInfo(java.io.File file) throws java.io.IOException
- Throws:
java.io.IOException
-
getImageWithInfo
public static ImageWithInfo getImageWithInfo(java.io.File file) throws java.io.IOException
- Throws:
java.io.IOException
-
getImageWithInfo
public static ImageWithInfo getImageWithInfo(byte[] data) throws java.io.IOException
- Throws:
java.io.IOException
-
readFully
public static byte[] readFully(java.io.File file) throws java.io.IOException
- Throws:
java.io.IOException
-
getImageInfo
public static ImageInfo getImageInfo(byte[] data) throws java.io.IOException
- Throws:
java.io.IOException
-
-