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

Enable processing of many images

Open timse opened this issue 12 years ago • 1 comments

First of thanks for this awesome module :)

However i ran into two minor problems, in case u want to export a lot of images to a sprite ( a couple of hundreds).

The first issue is that node will throw an error because too many files are open. This can be fixed by using 'graceful-fs'

The other issue is that it takes a lot of time to render all the differences onto the final spritesheet, this can be fixed by using imagemagicks 'convert' with the composite option instead of the composite tool itself. Convert is able to handle bulks of images at once which speeds up the process alot.

Hope the changes make sense.

timse avatar Aug 28 '13 14:08 timse

Apologies for the delay - looks like a useful set of changes. Will try to review over the weekend.

richardbutler avatar Oct 18 '13 08:10 richardbutler