Support get and load image

Patches for #160

I have no ideas to create integration test for those.
anyone help?

Thank you.