aslansky / css-sprite

css sprite generator
MIT License
733 stars 55 forks source link

Fails on large number of images #7

Closed Janpot closed 10 years ago

Janpot commented 10 years ago

I'm trying to build a sprite out of about 500 16x16 png icons. gulp just ends without finishing the task. It starts working when I reduce the number of icons.

Janpot commented 10 years ago

Ok, did some further investigation and it looks like it's not the amount of icons that is the problem. There are 5 icons I use that make this library stop from working. If I remove following icons from my folder the sprite is generated. If I run css-sprite (through gulp) on these 5 icons the sprite is not generated but the process just stops.

https://drive.google.com/file/d/0B8mtQiHUyTXyNzl4VlhRR0dkM1E/edit?usp=sharing

aslansky commented 10 years ago

Thanks for the report. I will look into it, but it could take a little bit longer, because I just started a new job and it is kind of hard to find time to fix issues.

aslansky commented 10 years ago

node-canvas seems to have a problem with the images. But css-sprite now shows a log message and ignores the images when something goes wrong.

Janpot commented 10 years ago

Did you open a ticket with them?

aslansky commented 10 years ago

No.