Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pattern disappears when optimizing using CLI 3.3.2 #2090

Open
adriaanmeuris opened this issue Jan 20, 2025 · 0 comments
Open

Pattern disappears when optimizing using CLI 3.3.2 #2090

adriaanmeuris opened this issue Jan 20, 2025 · 0 comments
Labels

Comments

@adriaanmeuris
Copy link

Describe the bug
When optimizing an SVG with a pattern that's referenced by a path, the resulting SVG does not contain the referenced pattern anymore.

To Reproduce

  1. Download input.svg
  2. Run svgo -i input.svg -o output.svg
  3. The resulting output.svg doesn't display anything anymore. File size of input is 224 KB, output is 233 bytes.

Expected behavior
The resulting SVG is displays the pattern.

Screenshots

Input Output
Image Image

Desktop

 SVGO Version: 3.3.2
 NodeJs Version: 20.15.1
 OS: macOS 15.2
 CPU: (12) arm64 Apple M2 Pro
 Memory: 95.89 MB / 16.00 GB
 Shell: 5.9 - /bin/zsh
Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant