Last active
June 21, 2025 06:10
-
-
Save aspose-com-kb/fe5ed20ab470b0182dc438fc2dec5fd7 to your computer and use it in GitHub Desktop.
Convert CMYK to RGB in Python. For more details: https://kb.aspose.com/svg/python/convert-cmyk-to-rgb-in-python/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import aspose.svg | |
from aspose.svg import * | |
# Parse CMYK color | |
color = aspose.svg.drawing.Color.from_cmyk(0.0, 0.189, 0.392, 0.129) | |
# Convert CMYK to RGB | |
print(color.convert(aspose.svg.drawing.ColorModel.RGB)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment