Compute aspect ratio on vector and raster images
Add multiple images to the tree at once.

As a bonus, you can mix vector and raster types.
Propagate classes properly for tree_objects.