mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-29 02:36:14 +01:00
...
This commit is contained in:
parent
bb94a8dbe2
commit
896c451aef
1 changed files with 3 additions and 2 deletions
|
|
@ -1417,8 +1417,9 @@ def section(section_number):
|
|||
image_index += 1
|
||||
r = self.records[i]
|
||||
fmt = None
|
||||
if i >= fii and r.raw[:4] not in (b'FLIS', b'FCIS', b'SRCS',
|
||||
b'\xe9\x8e\r\n'):
|
||||
if i >= fii and r.raw[:4] not in {b'FLIS', b'FCIS', b'SRCS',
|
||||
b'\xe9\x8e\r\n', b'RESC', b'BOUN', b'FDST', b'DATP',
|
||||
b'AUDI', b'VIDE'}:
|
||||
try:
|
||||
width, height, fmt = identify_data(r.raw)
|
||||
except:
|
||||
|
|
|
|||
Loading…
Reference in a new issue