RazrFalcon / svgcleaner

svgcleaner could help you to clean up your SVG files from the unnecessary data.
GNU General Public License v2.0
1.63k stars 94 forks source link

Inconsistent result with data #244

Open muthuvenkat opened 3 years ago

muthuvenkat commented 3 years ago

Hi,

Thanks for the wonderful library. I am facing a weird issue, it works sometimes and throws errors if I try another time.

i:  SLM:000000007   
Your image is 68.92% smaller now.**
i:  SLM:000000035   
Your image is 67.89% smaller now.

When I run the same script again, it fails to process

i:  SLM:000000007   
Error: invalid attribute value at 277:56.
i:  SLM:000000035   
Your image is 67.87% smaller now.

Any ideas on how to fix it?

RazrFalcon commented 3 years ago

Can you provide the file itself?

muthuvenkat commented 3 years ago

git is not supporting as svg, so I have attached as txt file. 007.svg.txt

RazrFalcon commented 3 years ago

Yes, it doesn't like url() with numbers. You can rename it manually. I will fix it someday.

muthuvenkat commented 3 years ago

Thanks, I will fix my script to remove it!