Skip to content

gm convert: Unrecognized option (-Infinity) #60

@lewispham

Description

@lewispham

I got the error Unrecognized option when I tried to generate sprites with this options:

            nsg({
                src: [
                    this.config.src + `/*.png`,
                ],
                spritePath: this.config.dest + `/sprite.png`,
                stylesheetPath: this.config.cssDest + `/sprite.css`,
                stylesheet: 'css',
                stylesheetOptions: {
                    prefix: 'icon-',
                },
                compositor: 'gm'
            }, function (err) {
                if(err){
                    throw err;
                }
            });```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions