Get Pixel Color with javascript or with anything else

bernardo's picture

hello everyone i would like to know how can i collect a pixel color from several predifined areas on the srcreen with javascript? or with the image pixel patch? thanks bernardo

cwright's picture
image pixel

use image pixel -- JS can't read images, so it can't really do much. It can generate coordinates/record color values though...

bernardo's picture
imageObjRef.getPixel(x, y {, #integer}); Example will Work

i cant try this right now but will it work?

imageObjRef.getPixel(x, y {, #integer});

i found it in: http://livedocs.adobe.com/director/mx2004/release_update_en/wwhelp/wwhim...

sorry for the persistense thank bern

cwright's picture
no

This is for Adobe Director -- it's not a standard JS function, and it's not implemented in QC.