You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When reaching out to the plain generator with a color option that uses the css style colors a Dragonfly::ParamValidators::InvalidParameter exception is raised.
Hi
Thanks for this - this is indeed a bug - a PR would be great thanks - it should just be a case of colour and color being validated by a custom regex rather than is_word. Yes CSS colours should be supported (as far as imagemagick supports them anyway)
When reaching out to the
plain
generator with a color option that uses the css style colors aDragonfly::ParamValidators::InvalidParameter
exception is raised.Example - from within another generator:
It looks like the color attribute is validated with
is_word
but that regex does not support css-style colors.Other values that are failing, but should work:
#CCC
rgb(255,255,255)
#333
I have worked around it with a monkeypatch for now. I'm happy to open a PR if css style colors are still intended to be supported.
dragonfly version: 1.4.0
The text was updated successfully, but these errors were encountered: