asciidisco / grunt-imagine

Grunt tasks for optimizing & inlining images
MIT License
153 stars 21 forks source link

Cannot create sprite when total size of sprites exceeds 23kb #33

Closed LaurentGoderre closed 11 years ago

LaurentGoderre commented 11 years ago

The content of the image is sent in the command as base64 and when the total image size exceed 23kb, the command becomes too long for the child process.

Fatal error: spawn ENAMETOOLONG

I will investigate using a buffer to send the image data to the sprite script.