Skip to content

Commit 86fa5f6

Browse files
committed
update desc
1 parent b19865c commit 86fa5f6

File tree

1 file changed

+50
-48
lines changed

1 file changed

+50
-48
lines changed

README.md

Lines changed: 50 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,71 @@
11
# FileFormats
22

3+
Find out the file type by file data or name
4+
35
This library implements:
46

57
1. Get filename extension from file path
68
2. Confirm filename extension by file signature
79

810
Now support:
911

10-
PDF
11-
ZIP
12-
RAR
13-
ISO
12+
.PDF
13+
.ZIP
14+
.RAR
15+
.ISO
1416

15-
JPEG
16-
JPG
17-
PNG
18-
WEBP
19-
GIF
20-
TIFF
21-
BMP
22-
ICO
23-
J2K
24-
JP2
25-
EPS
26-
PSD
27-
PSB
17+
.JPEG
18+
.JPG
19+
.PNG
20+
.WEBP
21+
.GIF
22+
.TIFF
23+
.BMP
24+
.ICO
25+
.J2K
26+
.JP2
27+
.EPS
28+
.PSD
29+
.PSB
2830

29-
M4A
30-
M4B
31-
M4P
32-
M4V
33-
MOV
31+
.M4A
32+
.M4B
33+
.M4P
34+
.M4V
35+
.MOV
3436

35-
MP4
36-
MP3
37-
MP2
37+
.MP4
38+
.MP3
39+
.MP2
3840

39-
WAV
40-
AVI
41-
AIFF
42-
MID
43-
FLAC
44-
APE
45-
RM
46-
RMVB
41+
.WAV
42+
.AVI
43+
.AIFF
44+
.MID
45+
.FLAC
46+
.APE
47+
.RM
48+
.RMVB
4749

48-
EXE
50+
.EXE
4951

50-
TXT
51-
HTML
52+
.TXT
53+
.HTML
5254

53-
DOC
54-
DOCX
55-
PPT
56-
PPTX
57-
XML
58-
XMLX
55+
.DOC
56+
.DOCX
57+
.PPT
58+
.PPTX
59+
.XML
60+
.XMLX
5961

60-
SVG
61-
DIB
62-
TGA
62+
.SVG
63+
.DIB
64+
.TGA
6365

64-
WMA
65-
WMV
66-
ASF
66+
.WMA
67+
.WMV
68+
.ASF
6769

6870

6971
Reference:

0 commit comments

Comments
 (0)