selective-php / image-type

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

Detect PEF (Pentax) #23

Closed odan closed 5 years ago

odan commented 5 years ago

http://fileformats.archiveteam.org/wiki/Pentax_PEF

Identification

If, in the first TIFF IFD, the Make or Model tag has a value that begins with "PENTAX", or the Compression code is 65535, it's probably a PEF file.