Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable processing of many images #33

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

timse
Copy link

@timse timse commented Aug 28, 2013

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.

@richardbutler
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants