mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
Sharp can read TIFF-based RAW files (DNG, CR2, NEF) directly for metadata without requiring ImageMagick/darktable to fully decode them. Try Sharp on the raw buffer first; only fall back to the decode pipeline for formats Sharp cannot open (PSD, ICO, TGA). For RAW files, enrich with ExifTool to get real sensor dimensions instead of thumbnail size.