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 I'm using the background_color filter I cannot get it to work with hex color codes. With named colors such as purple, red, indigo it works fine. As soon as it's changed to a hex code though the page returns an empty object. This happens when applied to transparent png's
Hey @adamhughes86. We've added a feature request to support hex codes in legacy mappings to the Thumbor-style URL paths. This issue exists because SharpJS doesn't support hex codes natively, thus requiring some custom conversion on our end into rgb(255, 255, 255) format. Thanks for bringing this to our attention!
We have updated our solution, and I believe your issue has been fixed. If you still see the issue with the latest version (v4.2), please feel free to reopen the issue.
When I'm using the background_color filter I cannot get it to work with hex color codes. With named colors such as purple, red, indigo it works fine. As soon as it's changed to a hex code though the page returns an empty object. This happens when applied to transparent png's
Works:
filters:background_color(red)
Breaks:
filters:background_color(f00)
Breaks:
filters:background_color(f00f00)
Breaks:
filters:background_color(#f00f00)
The text was updated successfully, but these errors were encountered: