selective-php / image-type

Image type (format) detection for PHP
MIT License
7 stars 4 forks source link

Detect RW2 (Panasonic) #24

Closed odan closed 5 years ago

odan commented 5 years ago

http://fileformats.archiveteam.org/wiki/Panasonic_RAW/RW2

The format is TIFF-like, but with a different file signature, and some different tag numbers.

The Leica version of it contains a MakerNote that begins with "LEICA" 0x00 0x00 0x00.

Identification Files begin with (hex) bytes 49 49 55 00.