ID:2906066
 
The basic thing I'm trying to do is figure out the average color of an icon for use in a pixel minimap, taking into account changes/overlays post run-time.

Is there an efficient way to do this beyond looping through every pixel with GetPixel() and averaging the rbg2num?

Second part of the question, can I apply this "average" to all current and future instances of an object, as though I had changed the default in DM before runtime, or do I need to apply it to each individual object?