Function inspectJpeg

Inspect EXIF/ICC without applying orientation or colour semantics.

JpegMetadataInfo inspectJpeg(
  scope const(ubyte)[] encoded,
  scope compression.jpeg.MetadataSegment[] segments,
  compression.jpeg.Limits limits = Limits(67108864LU, 64000000LU)
) pure nothrow @nogc @safe;

Metadata offsets borrow the encoded input for the call's lifetime.