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 ImageInfogetImageInfo(byte[] data)static ImageInfogetImageInfo(java.io.File file)static ImageWithInfogetImageWithInfo(byte[] data)static ImageWithInfogetImageWithInfo(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
-
-