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개

댓글을 남기려면 로그인하세요.