node-iconizr icon indicating copy to clipboard operation
node-iconizr copied to clipboard

"Max buffer exceeded" when creating PNG fallbacks with PhantomJS

Open jkphl opened this issue 9 years ago • 0 comments

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);

jkphl avatar Aug 21 '15 14:08 jkphl