node-iconizr
node-iconizr copied to clipboard
"Max buffer exceeded" when creating PNG fallbacks with PhantomJS
In case the sprite dimensions are too big, it's possible that the max. buffer for the PhantomJS call gets exceeded. There should be a third argument to the execFile()
command:
execFile(phantomjs, [ /* ... */ ], {maxBuffer: maxBufferSize}, callback);