Documentation
¶
Overview ¶
Package stripper removes metadata at the binary/container level, before any image decode step. This ensures that C2PA, EXIF, XMP, IPTC, ICC profiles, and any other embedded blobs are eliminated even when they would survive a normal decode/re-encode cycle.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RebuildPNGCRC ¶
RebuildPNGCRC computes the CRC32 for a PNG chunk (type + data). Exported for use in tests.
func StripJPEGSegments ¶
StripJPEGSegments walks the JPEG segment list and removes every APP segment that carries metadata, keeping only image-essential markers (SOF, DHT, DQT, SOS, and the raw entropy-coded scan data).
func StripPNGChunks ¶
StripPNGChunks parses the PNG chunk stream and rebuilds it, keeping only image-essential chunks. All metadata, color hint, and fingerprint chunks are discarded.
Types ¶
This section is empty.