Get bounding rect of SVG shape elements.
Get the most common colors in an image.
Convert some SVG elements to JavaScript objects with frequently used attributes.