File signature is a short well defined sequence of bytes usually situated at the beginning of the file.
Extension | Format Name | Signature | Signature in Hex |
---|---|---|---|
JPEG |
|
||
PNG |
Portable Network Graphics |
|
|
GIF |
Graphics Interchange Format |
|
|
BMP |
|
|
|
TIFF |
Tagged Image File Format |
|
|
PSP |
Paint Shop Pro Image |
|
|
PSD |
Adobe Photoshop Image |
|
|
PBM |
Netpbm portable bitmap |
|
|
PGM |
Netpbm portable graymap |
|
|
PPM |
Netpbm portable pixmap |
|
|
PNM |
Netpbm portable anymap |
|
|
JP2 |
JPEG 2000 |
|
|
PCX |
ZSoft PCX |
|
|
CBZ |
Comic Book Archive (ZIP) |
|
Signature strings are written in C string syntax
The [A-B] denotes any number from interval
The {A, B, C} denotes any number from the set