net.n12n.exif

ExifSegment

class ExifSegment extends Segment

Exif segment. An Exif segment contains at least one IFD (Image File Directory), the first IFD, called 0thIFD is mandatory all others are optional.

To see which attributes are defined in which IFD check the corresponding companion objects net.n12n.exif.TiffIfd, net.n12n.exif.ExifIfd and net.n12n.exif.GpsIfd.

Linear Supertypes
Segment, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ExifSegment
  2. Segment
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ExifSegment(length: Int, data: ByteSeq, offset: Int = 0)

    length

    segment length, see net.n12n.exif.Segment.

    data

    segment data.

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. lazy val allAttrs: List[IfdAttribute]

    List of all attributes of all IFDs of this segment.

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. val byteOrder: ByteOrder.Value

    Byte order as given in TIFF segment.

  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val data: ByteSeq

    Definition Classes
    Segment
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. val exifIfd: Option[ExifIfd]

    Optional Exif IFD.

  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def findAttr(tag: GpsTag[_]): Option[IfdAttribute]

    Find GPS attribute without checking if there is a GPS IFD at all.

    Find GPS attribute without checking if there is a GPS IFD at all.

    tag

    Attribute tag.

    returns

    Option containing the attribute or {{None}}.

  14. def findAttr(tag: ExifTag[_]): Option[IfdAttribute]

    Find Exif IFD attribute without checking if there is an Exif IFD at all.

    Find Exif IFD attribute without checking if there is an Exif IFD at all.

    tag

    Attribute tag.

    returns

    Option containing the attribute or {{None}}.

  15. def findAttr(tag: TiffTag[_]): Option[IfdAttribute]

    Find Tiff attribute in 0th or 1st IFD.

    Find Tiff attribute in 0th or 1st IFD.

    tag

    Attribute tag.

    returns

    Option containing the attribute or None.

  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. val gpsIfd: Option[GpsIfd]

    Optional GPS IFD.

  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. val ifd0: TiffIfd

    The 0th IFD, always present.

  20. val ifd1: Option[TiffIfd]

    Optional 1st IFD.

  21. lazy val ifds: List[Ifd { ... /* 2 definitions in type refinement */ }]

    List of all IFDs in this Exif segment.

  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. val length: Int

    Definition Classes
    Segment
  24. val marker: Tag

    Definition Classes
    Segment
  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  28. val orientation: Orientation

    Image orientation.

    Image orientation.

    Default = 1
    1 = The 0th row is at the visual top of the image, and the 0th column is the visual left-hand side.
    2 = The 0th row is at the visual top of the image, and the 0th column is the visual right-hand side.
    3 = The 0th row is at the visual bottom of the image, and the 0th column is the visual right-hand side.
    4 = The 0th row is at the visual bottom of the image, and the 0th column is the visual left-hand side.
    5 = The 0th row is the visual left-hand side of the image, and the 0th column is the visual top.
    6 = The 0th row is the visual right-hand side of the image, and the 0th column is the visual top.
    7 = The 0th row is the visual right-hand side of the image, and the 0th column is the visual bottom.
    8 = The 0th row is the visual left-hand side of the image, and the 0th column is the visual bottom.
    Other = reserved

    In case the EXIF segment does not contain a [net.n12n.exif.TiffIfd.Orientation] attribute or the value of the attribute is not in the range of 1 to 8 this field is set to net.n12n.exif.Orientation.TopLeft.

  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def toString(): String

    Definition Classes
    ExifSegmentSegment → AnyRef → Any
  31. def value[T](tag: GpsTag[T]): Option[T]

    Get value of GPS attribute.

    Get value of GPS attribute.

    T

    tag type.

    tag

    GPS tag.

    returns

    value of tag wrapped in option.

  32. def value[T](tag: ExifTag[T]): Option[T]

    Get value of Exif attribute.

    Get value of Exif attribute.

    T

    tag type.

    tag

    Exif tag.

    returns

    value of tag wrapped in option.

  33. def value[T](tag: TiffTag[T]): Option[T]

    Get value of attribute in 0th and 1st IFD.

    Get value of attribute in 0th and 1st IFD.

    T

    tag type.

    tag

    Tiff tag.

    returns

    value of tag wrapped in option.

  34. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Segment

Inherited from AnyRef

Inherited from Any

Ungrouped