some work on image_create_from_png (mac os)

I didn't finish.