Fill each object by average color behind their layer

Viewed 39

Do you guys and girls know of any script for AI that can fill multiple selected object with the average color behind their layer? Also, it will work even if it's not the average color, just a color from inside each and every object.

Something like this https://i.imgur.com/wE3h5u5.jpg

I need it to create a mosaic, but the tiles are random in shape and size and are already drawn on top of the initial picture and there are over 100k objects/tiles that are needed to be filled.

I'll apreciate any help with this!

0 Answers
Related