🍋
Menu
Image

EXIF

EXIF (Exchangeable Image File Format)

EXIF is a metadata standard embedded in JPEG, TIFF, and RAW files that records camera settings and shooting conditions. It stores data like shutter speed, aperture, ISO, GPS location, date, camera model, and lens information.

التفاصيل التقنية

EXIF data is stored as tagged key-value pairs in the APP1 marker segment of JPEG files. The specification defines over 100 standard tags across IFD0 (image), Exif IFD (camera), and GPS IFD (location) directories.

مثال

```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)
```

صيغ ذات صلة

أدوات ذات صلة

مصطلحات ذات صلة