Class JPEGHeader

java.lang.Object
org.aoju.bus.image.nimble.codec.jpeg.JPEGHeader

public class JPEGHeader extends Object
Since:
Java 17+
Author:
Kimi Liu
  • Constructor Details

    • JPEGHeader

      public JPEGHeader(byte[] data, int lastMarker)
  • Method Details

    • offsetOf

      public int offsetOf(int marker)
    • offsetSOF

      public int offsetSOF()
    • offsetAfterAPP

      public int offsetAfterAPP()
    • offset

      public int offset(int index)
    • marker

      public int marker(int index)
    • numberOfMarkers

      public int numberOfMarkers()
    • toAttributes

      public Attributes toAttributes(Attributes attrs)
      Return corresponding Image Pixel Description Macro Attributes
      Parameters:
      attrs - target Attributes or null
      Returns:
      Image Pixel Description Macro Attributes
    • getTransferSyntaxUID

      public String getTransferSyntaxUID()