Skip to content

Commit 82d0b6d

Browse files
committed
Address 4186
JPEG with CMYK color space need inversion of the pixel colors.
1 parent 81f0e46 commit 82d0b6d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4209,7 +4209,10 @@ def extract_image(self, xref):
42094209

42104210
o = mupdf.pdf_dict_geta(obj, PDF_NAME('SMask'), PDF_NAME('Mask'))
42114211
cs_string = mupdf.pdf_dict_geta(obj, PDF_NAME('ColorSpace'), PDF_NAME('CS')).pdf_to_name()
4212+
<<<<<<< HEAD
42124213

4214+
=======
4215+
>>>>>>> 4be00558 (Address 4186)
42134216
if o.m_internal:
42144217
smask = mupdf.pdf_to_num(o)
42154218

0 commit comments

Comments
 (0)