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

Error: Error building site: imaging: unsupported image format #4455

Closed
brunoamaral opened this issue Feb 27, 2018 · 4 comments
Closed

Error: Error building site: imaging: unsupported image format #4455

brunoamaral opened this issue Feb 27, 2018 · 4 comments

Comments

@brunoamaral
Copy link
Contributor

This came up when I upgraded from 0.36 to 0.37.

If the Page Bundle contains an SVG file, Hugo does not finish the build and instead returns the error above.

I think this happens because imaging does not recognise SVGs as an image format. Other files, like PDF's are not affected.

@bep
Copy link
Member

bep commented Feb 27, 2018

This came up when I upgraded from 0.36 to 0.37.

Did you not get the same error in 0.36?

@brunoamaral
Copy link
Contributor Author

No, even downgraded to 0.36.1 and it's working fine.

@bep bep added the Bug label Feb 27, 2018
@bep bep added this to the v0.37.1 milestone Feb 27, 2018
@bep bep closed this as completed in ba94abb Feb 27, 2018
@bep
Copy link
Member

bep commented Feb 27, 2018

OK, my mistake. The current workaround for 0.37 would be to rename that SVG file to *.xml or something.

@github-actions
Copy link

github-actions bot commented Mar 7, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants