store native image data as JS property
warn instead of throwing exception when Graphics.render missing native image data
raise exception on error decoding image
Merge pull request #260 from mykmelez/invalid-graphics-data

handle invalid image data