Package se.datadosen.util
Class JPEGUtil
java.lang.Object
se.datadosen.util.JPEGUtil
public class JPEGUtil
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description JPEGUtil()
-
Method Summary
Modifier and Type Method Description static byte[]
getApp1Segment(java.io.File jpegFile)
static javax.swing.ImageIcon
getEmbeddedThumbnail(java.io.File jpegFile, int offset, int len)
-
Constructor Details
-
JPEGUtil
public JPEGUtil()
-
-
Method Details
-
getApp1Segment
public static byte[] getApp1Segment(java.io.File jpegFile) throws java.io.IOException- Throws:
java.io.IOException
-
getEmbeddedThumbnail
public static javax.swing.ImageIcon getEmbeddedThumbnail(java.io.File jpegFile, int offset, int len) throws java.io.IOException- Throws:
java.io.IOException
-