Skip to content

Commit

Permalink
Merge pull request #1846 from wiredfool/pr_1826
Browse files Browse the repository at this point in the history
EPS + CMYK
  • Loading branch information
wiredfool committed Jun 30, 2016
2 parents da04d32 + 74547b5 commit 872fd06
Show file tree
Hide file tree
Showing 4 changed files with 1,064 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PIL/EpsImagePlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class EpsImageFile(ImageFile.ImageFile):
format = "EPS"
format_description = "Encapsulated Postscript"

mode_map = {1: "L", 2: "LAB", 3: "RGB"}
mode_map = {1: "L", 2: "LAB", 3: "RGB", 4: "CMYK"}

def _open(self):
(length, offset) = self._find_offset(self.fp)
Expand Down
Loading

0 comments on commit 872fd06

Please sign in to comment.