Class SplitToCMYK
java.lang.Object
com.marginallyclever.nodegraphcore.Node
com.marginallyclever.donatello.nodes.images.SplitToCMYK
public class SplitToCMYK
extends com.marginallyclever.nodegraphcore.Node
Split a
BufferedImage
into separate CMYK channels.
See also CMYK color model.- Since:
- 2022-02-23
- Author:
- Dan Royer
-
Field Summary
Fields inherited from class com.marginallyclever.nodegraphcore.Node
TITLE_HEIGHT
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.marginallyclever.nodegraphcore.Node
countReceivingConnections, fromJSON, getComplete, getDownstreamNodes, getInPosition, getLabel, getName, getNumPorts, getOutPosition, getPort, getPort, getPortIndex, getPorts, getRectangle, getUniqueID, isDirty, moveRelative, reset, setComplete, setInputsClean, setLabel, setPosition, setRectangle, setUniqueID, toJSON, toString, updateBounds
-
Constructor Details
-
SplitToCMYK
public SplitToCMYK()Constructor for subclasses to call.
-
-
Method Details
-
update
public void update()- Specified by:
update
in classcom.marginallyclever.nodegraphcore.Node
-
pixelToCMYK
public static double[] pixelToCMYK(int[] pixel)
-