Added API to change the userdata of an image.
Merge pull request #82 from fancycode/set_image_userdata

Added API to change the userdata of an image.