One piece of tracking or identifying data that Image.Privacy.scan/1
found in an image.
Fields
:sourceis where the data was found::iptc,:exif,:xmp,:png_text, or:jpegand:pngfor data found by reading a JPEG file's segments or a PNG file's chunks.:fieldnames the data within its source, such as:special_instructionsor:body_serial_number. For a PNG text chunk it is the chunk's keyword, as a string. It isnilfor an:unreadablefinding.:valueis the data as the source's reader returns it.:kindsays what the data is::tracking_id— an identifier a platform or service added as the image passed through it, such as Facebook'sFBMDstring.:device_id— identifies the camera, lens or phone, such as a serial number.:document_id— identifies the image or file across edits, such as EXIF'sImageUniqueIDor XMP's document identifiers.:person— names a person, such as an artist, a camera owner or a contact.:location— GPS coordinates or a place name.:embedded_text— free text, such as a PNG text chunk, which AI image generators use to record a prompt.:ai_label— labels the image as made or altered by AI.:provenance— describes how the image was made, without an AI label.:hidden_data— data a viewer does not show, such as bytes after the end of a JPEG or PNG, or an EXIF thumbnail, which can show the picture before it was cropped or edited. The value is a map with the:formatof the data (:jpeg,:png,:zip,:mp4,:samsungor:unknown) and its size in:bytes. A thumbnail's map also has its:widthand:height.:unreadable— a metadata block is present but cannot be read, so it may hold data the scan could not check. The value is the reason, such as:invalid_xmp.
Summary
Types
What a finding's data is.
Where a finding's data was found.
A finding from Image.Privacy.scan/1.
Types
@type kind() ::
:tracking_id
| :device_id
| :document_id
| :person
| :location
| :embedded_text
| :ai_label
| :provenance
| :hidden_data
| :unreadable
What a finding's data is.
@type source() :: :iptc | :exif | :xmp | :png_text | :jpeg | :png
Where a finding's data was found.
@type t() :: %Image.Privacy.Finding{ field: atom() | String.t() | nil, kind: kind(), source: source(), value: term() }
A finding from Image.Privacy.scan/1.