First draft
 - to/from BitmapData for flash, openfl, nme
 - to/from Texture for flambe (html only)