Skip to content

docs/reference/ImageCms #6161

Answered by radarhere
digital-prepress asked this question in Q&A
Discussion options

You must be logged in to vote

I've found that your code example comes from https://www.cazabon.com/pyCMS/

Is this all that you wanted?

from PIL import Image, ImageCms

im = Image.open("c:\\test.tif")
imConverted = ImageCms.profileToProfile(im, "c:\\sRGB.icm", "c:\\SWOP.icm", outputMode = "CMYK")
imConverted.save("c:\\output.tif")

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by digital-prepress
Comment options

You must be logged in to vote
2 replies
@digital-prepress
Comment options

@radarhere
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants