close
Skip to content

scour changes colour (CSS) #176

Description

@JoKalliauer

Processing https://commons.wikimedia.org/wiki/File:2016_Angola_and_DR_Congo_yellow_fever_outbreak.svg
changes colour:

$ scour 2016_Angola_and_DR_Congo_yellow_fever_outbreak.svg output.svg

Input:
2016_angola_and_dr_congo_yellow_fever_outbreakn

Output:
outputn

minimal working example:
Input:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg  PUBLIC '-//W3C//DTD SVG 1.1//EN'  'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'>
<svg id="svg20" width="57.249" height="57.119" version="1.1" viewBox="82.992 45.607 56.547 62.09" xmlns="http://www.w3.org/2000/svg">
 <style id="style2" type="text/css">.landxx
{
   fill: #e0e0e0;
}</style>
 <path class="landxx ke" d="m73.956 89.432c-7.828-15.27 2.175-34.73 17.328-40.886 12.51-5.798 28.9-2.052 36.587 9.6848 12.48 17.52 0.604 45.97-20.802 48.959-13.3 1.759-27.35-5.67-33.159-17.803" style="fill:#7b7bff"/>
</svg>

mineinsinrss_

output:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg  PUBLIC '-//W3C//DTD SVG 1.1//EN'  'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'>
<svg id="svg20" width="57.249" height="57.119" version="1.1" viewBox="82.992 45.607 56.547 62.09" xmlns="http://www.w3.org/2000/svg">
 <style id="style2" type="text/css">.landxx
{
   fill: #e0e0e0;
}</style>
 <path class="landxx ke" d="m73.956 89.432c-7.828-15.27 2.175-34.73 17.328-40.886 12.51-5.798 28.9-2.052 36.587 9.6848 12.48 17.52 0.604 45.97-20.802 48.959-13.3 1.759-27.35-5.67-33.159-17.803" fill="#7b7bff"/>
</svg>

output

The images are created by Inkscape, in Google Chrome and Firefox they look similar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions