Returned image data is now copied
Added the ability to decode an image into a golang image object