element-hq / element-hq/synapse
Add thumbnailing support to media repository for SVGs (SYN-344)
Open
A-Media-Repository
O-Occasional
S-Minor
T-Enhancement
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 600
- Avg merge
- 5d 6h
- Merged PRs (30d)
- 46
Description
This issue has been migrated from [#1309](https://github.com/matrix-org/synapse/issues/1309).
---
Python Image Library can't read SVG so the current PIL based thumbnailing code can't generate a thumbnail for an SVG.
For now we might just want to return the original image since it is already scalable.
(Imported from https://matrix.org/jira/browse/SYN-344)
(Reported by @NegativeMjark)
Contributor guide
Assessment
This issue has not been assessed yet.