1
0
Fork 0
forked from josch/img2pdf
This commit is contained in:
josch 2015-03-13 14:33:45 +01:00
parent f3674907d6
commit 4968d58621

View file

@ -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)