mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-27 09:55:57 +00:00
@@ -121,6 +121,7 @@ imageType img = case B.take 4 img of
|
||||
"\x4D\x4D\x00\x2a" -> return Tiff
|
||||
"\xff\xd8\xff\xe0" -> return Jpeg -- JFIF
|
||||
"\xff\xd8\xff\xe1" -> return Jpeg -- Exif
|
||||
"\xff\xd8\xff\xee" -> return Jpeg -- Exif see #11049
|
||||
"%PDF" -> return Pdf
|
||||
"<svg" -> return Svg
|
||||
"<?xm"
|
||||
|
||||
Reference in New Issue
Block a user