Skip to content
This repository has been archived by the owner on Oct 30, 2021. It is now read-only.

fill="rgba(0,0,0,255)" from usvg as Error: invalid color #249

Open
JoKalliauer opened this issue Oct 30, 2021 · 1 comment
Open

fill="rgba(0,0,0,255)" from usvg as Error: invalid color #249

JoKalliauer opened this issue Oct 30, 2021 · 1 comment

Comments

@JoKalliauer
Copy link
Contributor

I processed a file with (usvg)[https://github.com/RazrFalcon/resvg/tree/master/usvg] and the result was fill="rgba(0,0,0,255)" however this "micro"-SVG is not accepted by svgcleaner.

A mirco-SVG should be understood by everyone. If svgcleaner does not understand it is is either not a good choice for micro-SVG or it is a svgcleaner-bug.

Example.svg

@RazrFalcon
Copy link
Owner

or it is a svgcleaner-bug

This. svgcleaner is abandonware.

rgba is required by the SVG 2 spec. Not much we can do about it. Maybe we could flatten alpha somehow. But I'm not sure how lossless it is.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants