Package 

Class ExifOrientationStream

  • All Implemented Interfaces:
    java.io.Closeable , java.lang.AutoCloseable

    
    public final class ExifOrientationStream
    extends FilterInputStream
                        

    Adds an exif segment with an orientation attribute to a wrapped InputStream containing image data.

    This class assumes that the wrapped stream contains an image format that can contain exif information and performs no verification.

    • Method Summary

      Modifier and Type Method Description
      boolean markSupported()
      void mark(int readLimit)
      int read()
      int read(@NonNull() Array<byte> buffer, int byteOffset, int byteCount)
      long skip(long byteCount)
      void reset()
      • Methods inherited from class java.io.FilterInputStream

        available, close, mark, markSupported, read, reset, skip
      • Methods inherited from class java.io.InputStream

        nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
      • Methods inherited from class java.lang.Object

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

      • ExifOrientationStream

        ExifOrientationStream(InputStream in, int orientation)