image: fix ARGB png randering

Initial patch provided by limxuzheng.

Github-hook: fix #43