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)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • 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