1

Image layer RGB with Python

I'd like to request a way of accessing the image layers RGB values like we can do with the source image RGB. The way to access the source image currently is with sourcePixelValue(source, x, y) which return (source.R, source.B, source.G). It'd be nice if we could specify a layer in this command to access the layer image RGB, or have a new method to access the image layer RGB. Something like sourcePixelValue(source, x, y, layer) or sourcePixelValue(source.Channel, x, y) which return (source.Channel.R, source.Channel.B, source.Channel.G)

0 comments

Please sign in to leave a comment.