optimize: exclude images with custom Decode tables

This commit is contained in:
James R. Barlow
2019-09-03 23:37:23 -07:00
parent b2cfaedf91
commit 671c88d3b5
+3
View File
@@ -73,6 +73,9 @@ def extract_image_filter(pike, root, log, image, xref):
if filtdp[0] == Name.JPXDecode:
return None # Don't do JPEG2000
if Name.Decode in image:
return None # Don't mess with custom Decode tables
return pim, filtdp