Skip to content

gm background option matcher is too strict #25

@Munter

Description

@Munter

https://github.com/papandreou/express-processimage/blob/master/lib/getFilterInfosAndTargetContentTypeFromQueryString.js#L90

background uses the fill syntax:

    name               (named color)
    #RGB               (hex numbers, 4 bits each)
    #RRGGBB            (8 bits each)
    #RRRGGGBBB         (12 bits each)
    #RRRRGGGGBBBB      (16 bits each)
    #RGBA              (4 bits each)
    #RRGGBBAA          (8 bits each)
    #RRRGGGBBBAAA      (12 bits each)
    #RRRRGGGGBBBBAAAA  (16 bits each)
    rgb(r,g,b)         (r,g,b are decimal numbers)
    rgba(r,g,b,a)      (r,g,b,a are decimal numbers)

See http://www.graphicsmagick.org/GraphicsMagick.html#details-fill

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