Skip to content

Instantly share code, notes, and snippets.

@zsmatrix62
Created November 27, 2019 05:25
Show Gist options
  • Save zsmatrix62/bd2aeb9162d5b282bc1404f2bfb277ba to your computer and use it in GitHub Desktop.
Save zsmatrix62/bd2aeb9162d5b282bc1404f2bfb277ba to your computer and use it in GitHub Desktop.
PIL图像处理

CMYK 颜色模式

# Profile 文件在PS文件夹下
imConverted = profileToProfile(bg_img,
                                   'sRGB Color Space Profile.icm',
                                   'USWebCoatedSWOP.icc', outputMode="CMYK")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment