main
josch 9 years ago
parent f3674907d6
commit 4968d58621

@ -162,7 +162,7 @@ class pdfdoc(object):
b"/Width": width, b"/Width": width,
b"/Height": height, b"/Height": height,
b"/ColorSpace": colorspace, b"/ColorSpace": colorspace,
# hardcoded as PIL doesnt provide bits for non-jpeg formats # hardcoded as PIL doesn't provide bits for non-jpeg formats
b"/BitsPerComponent": 8, b"/BitsPerComponent": 8,
b"/Length": len(imgdata) b"/Length": len(imgdata)
}, imgdata) }, imgdata)

Loading…
Cancel
Save