🍋
Menu
Image

IPTC

International Press Telecommunications Council Metadata

A metadata standard for news photos including caption, creator, copyright, and keyword information.

Detalhe técnico

IPTC data is stored in a structured binary format within JPEG and TIFF files, defined by the JEIDA/JEITA standard (now Exif 3.0). It captures dozens of fields: aperture (f-stop), shutter speed, ISO sensitivity, focal length, flash status, white balance, and GPS coordinates with altitude. Privacy-sensitive users should strip EXIF before sharing photos online, as GPS data can reveal precise location. Most social platforms strip EXIF on upload, but direct file sharing preserves it.

Exemplo

```javascript
// Read EXIF data from image file
const buffer = await file.arrayBuffer();
const view = new DataView(buffer);

// Check JPEG SOI marker
if (view.getUint16(0) === 0xFFD8) {
  // EXIF starts at APP1 marker (0xFFE1)
  // Fields: camera model, aperture, ISO, GPS coords
}

// Strip EXIF: re-draw on canvas → export (removes metadata)
```

Ferramentas relacionadas

Termos relacionados