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

Add thumbnailing support to media repository for SVGs (SYN-344) #1309

Open
matrixbot opened this issue Dec 15, 2023 · 1 comment
Open

Add thumbnailing support to media repository for SVGs (SYN-344) #1309

matrixbot opened this issue Dec 15, 2023 · 1 comment

Comments

@matrixbot
Copy link
Collaborator

matrixbot commented Dec 15, 2023

This issue has been migrated from #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)

@matrixbot matrixbot changed the title Dummy issue Add thumbnailing support to media repository for SVGs (SYN-344) Dec 21, 2023
@matrixbot matrixbot reopened this Dec 21, 2023
@ajkessel
Copy link

Is there an end-user (i.e. server admin) workaround for this issue currently? I'm using a Maubot plugin that sends urlpreviews to the room but results in a broken link when the preview has an SVG in it. I assume folks know about svglib which presumably could convert to a known format for thumbnailing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants