Does that help I'm trying to convert an image to cmyk array and seperate Cyan,Magentha,Yellow,Black values .Is it possible with python .How to convert image to Rgb array and then to cmyk? , Covert to CMYK: im = Image.open('apple.png').convert('CMYK')
# [:, :, 0]
# ^ Rows ^ Cols ^ Channel
# The colon alone indicates no slicing, so here we select
# all rows, and then all columns, and then 0 indicates we
# want the first channel from the CMYK channels.
c = np_image[:, :, 0]
m = np_image[:, :, 1]
y = np_image[:, :, 2]
k = np_image[:, :, 3]
How to convert a string to array and convert each of the hex value in array to decimal in python?