Commit 7df8218e authored by Thomas Marrinan's avatar Thomas Marrinan

fixed multi-layer image conversion issue. now images flattened to one layer.

Former-commit-id: 26c93d7f3f419aeafe61c64d49f9e5a072f01347
parent 5b182de7
......@@ -234,7 +234,7 @@ appLoader.prototype.loadImageFromFile = function(file, mime_type, url, external_
gm(file).noProfile().setFormat("PNG").toBuffer(function (err, buffer) {
gm(file).noProfile().flatten().setFormat("PNG").toBuffer(function (err, buffer) {
if(err) throw err;
gm(buffer).size(function (err, size) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment