Revert to version 0.2.27. The browser version was broken in 0.2.28. See https://github.com/oliver-moran/jimp/issues/280 for more info.
It looks like the current version of master solves this issue. look for my comment for example code. closing in favor of #280
Most helpful comment
Revert to version 0.2.27. The browser version was broken in 0.2.28. See https://github.com/oliver-moran/jimp/issues/280 for more info.