ExifOrientationStream

class ExifOrientationStream : 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.

Constructors

Link copied to clipboard
open fun ExifOrientationStream(in: InputStream, orientation: Int)

Functions

Link copied to clipboard
open fun available(): Int
Link copied to clipboard
open fun close()
Link copied to clipboard
open fun mark(readLimit: Int)
Link copied to clipboard
open fun markSupported(): Boolean
Link copied to clipboard
open fun nullInputStream(): InputStream
Link copied to clipboard
open fun read(): Int
open fun read(    buffer: Array<Byte>,     byteOffset: Int,     byteCount: Int): Int
Link copied to clipboard
open fun readAllBytes(): Array<Byte>
Link copied to clipboard
open fun readNBytes(len: Int): Array<Byte>
open fun readNBytes(    b: Array<Byte>,     off: Int,     len: Int): Int
Link copied to clipboard
open fun reset()
Link copied to clipboard
open fun skip(byteCount: Long): Long
Link copied to clipboard
open fun transferTo(out: OutputStream): Long