mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-09 12:32:52 +00:00
Read undrawn-image streams with their /DecodeParms by reference
This commit is contained in:
1 parent
b6ec3fe38d
commit
a97b83fc83
1 file changed
+1
-1
@@ -195,7 +195,7 @@ fn names_drawn(doc: &Document, res: &Dict, pages: &[ObjRef], index: &HashMap<Obj
|
||||
if !budget.enter_form() {
|
||||
return None;
|
||||
}
|
||||
note(&budget.decode_strict(s).ok()?);
|
||||
note(&budget.decode_strict(doc, s).ok()?);
|
||||
if let Some(own) = s.dict.get(b"Resources").map(|o| doc.resolve(o)).and_then(|o| o.as_dict().cloned()) {
|
||||
dicts.push(own);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user