selaux / node-sprite-generator

Generates image sprites and their spritesheets (css, stylus, sass or less) from sets of images. Supports retina sprites. Provides express middleware and grunt task.
MIT License
191 stars 39 forks source link

Getting the following error - Unrecognized option (-Infinity) #57

Open maddenf opened 7 years ago

maddenf commented 7 years ago

{ Error: Command failed: gm convert: Unrecognized option (-Infinity).

This seems to get triggered at node_modules/gm/lib/command.js:297:17

selaux commented 7 years ago

Can you show what layout goes into the compositor? Or does it break when reading the files?

selaux commented 7 years ago

@maddenf Did you solve this somehow?

arunprasadr-zz commented 7 years ago

@selaux: I had a similar error when I used 'vertical' layout. I used 'packed' layout and the error disappeared. I was using 'gm' as the compositor.