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

ImageSize: imageSize function fails for SVGs without width/height attributes #7045

Closed
ksesong opened this issue Jan 22, 2021 · 0 comments
Closed

Comments

@ksesong
Copy link

ksesong commented Jan 22, 2021

When using .svg files that do not have an explicit width and height attribute, but a defined viewBox, the imageSize function from Text.Pandoc.ImageSize fails with the following error: [WARNING] Could not determine image size for './test-5.svg': could not determine SVG size.

For example, this image leads to this error. It was created using Adobe Illustrator's "Export for Screens..." function, so this is a relatively frequent situation.

@jgm jgm changed the title ICML Writer: imageSize function fails for SVGs without width/height attributes ImageSize: imageSize function fails for SVGs without width/height attributes Jan 23, 2021
@jgm jgm closed this as completed in 198ce0c Jan 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant