Open
Description
I am trying to follow your code example for coverting an image to CMYK.
This part is failing:
var rgbData = cmyk2rgb.transformArray(cmykData, false, true);
ctx.putImageData(rgbData, 0, 0);
where I get an exception for putImageData parameter 1 is not of type ImageData.
I tried to fix the code by putting the result rgbData as the data field of a synthetic imageData object, but all my attempts failed. What am I missing?
Metadata
Metadata
Assignees
Labels
No labels