image: add InspectImage

Closes #13.