scratch/utils/inlineimage: added type erasure Image struct