Documentation
¶
Overview ¶
Package exif holds the leaf EXIF readers shared by the framework's image-adjacent packages. It exists so framework/file (which must not link the image codecs, see the layering rule pinned by framework/crud's TestUploadPathDoesNotLinkImageCodecs) and framework/image can share one TIFF walker without either importing the other: it is a leaf with no gofastr imports, sitting beside internal/casing at L1.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseTIFFOrientation ¶
ParseTIFFOrientation reads a TIFF stream and returns the orientation tag (0x0112) from IFD0, or 0 if absent. Only the orientation tag is parsed; full EXIF support is intentionally out of scope.
It replaces the two byte-identical copies framework/file/strip.go (parseTIFFOrientation, formerly a leaf-local twin kept because file could not import framework/image) and framework/image/exif.go (parseTIFFOrientation, readJPEGOrientation's IFD walker).
Types ¶
This section is empty.