devongovett/png.js — pull request #21 by Snkz (2014-11-18 01:56:20+00:00)
Title: Wiping blue's from pngs with no transparency.

Probably better to not use transparency length to determine ret array size but incase it was used for something I left it in there.

It needs to be shifted when there is no transparency however, otherwise the blues get wiped from output png.