forked from josch/img2pdf
Compare commits
No commits in common. "8dac6242fc9000f3e2b2dde01ea62a0e48ac6619" and "7e3b5ef0fb773445901b0f2c1c7a15df946f43de" have entirely different histories.
8dac6242fc
...
7e3b5ef0fb
2 changed files with 167 additions and 425 deletions
|
@ -858,8 +858,6 @@ class pdfdoc(object):
|
||||||
image[PdfName.ColorSpace] = colorspace
|
image[PdfName.ColorSpace] = colorspace
|
||||||
image[PdfName.BitsPerComponent] = depth
|
image[PdfName.BitsPerComponent] = depth
|
||||||
|
|
||||||
smask = None
|
|
||||||
|
|
||||||
if color == Colorspace["CMYK;I"]:
|
if color == Colorspace["CMYK;I"]:
|
||||||
# Inverts all four channels
|
# Inverts all four channels
|
||||||
image[PdfName.Decode] = [1, 0, 1, 0, 1, 0, 1, 0]
|
image[PdfName.Decode] = [1, 0, 1, 0, 1, 0, 1, 0]
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue