Get RGB color of a specific screen location

hh hh at hyperhh.de
Mon Jan 7 14:20:32 CET 2019


Try

if there is no img "temp" then create invisible img "temp"
export snapshot from rect <rectangle> to img "temp" as PNG

Then average the imagedata of that image. If you would
like to use transparency then also use the alphadata.

This is for desktop, on mobile there are some specials
(see the dictionary).

> I have asked this before, but for the first time did not
> get any answer on my post.

There is also the forum http://forums.livecode.com !!



More information about the use-livecode mailing list