Feature request: Option to color object(s) like the average color of each item's background
Summary:
For various purposes (e.g. for coloring Voronoi / Delaunay low-poly art automatically), people have requested to be able to color objects with the average color of the objects' background.
I've been thinking about how to implement this in an extension, but this requires clipping the drawing to each object, and then exporting the object, then averaging the color that isn't transparent (and what if there actually is transparency? How to find boundaries in the rectangular area, matching them with the path data?) etc. and would have horrible performance (and issues with non-Linux OSes, too...).
As we already have most of what is needed for this in the dropper tool / in the spray tool / in the tiled clones dialog, I think it would be much more useful and efficient to do this within Inkscape.
What it does
When applied to multiple objects, the 'before' and 'after' image could look like this:
With an object selected, it would pick the average color of the background below the object (as if the object were not there) and would then assign it to the object.
It could be reusing the dropper tool settings for transparency. Only difference to the dropper tool would be the area to average over (this code part could be taken from the tiled clones dialog), and that, if applied to multiple objects at once, each object would be getting its own background color.
For strokes, it could use the area covered by the stroke for the averaging (maybe not very useful, but consistent).
UI suggestion
I would imagine that we can have a button similar to this one below in the Fill and Stroke dialog:
When multiple objects are selected, the F&S dialog (which then usually is empty) would still have to show the average picking icon.

