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

support SVG image format #75

Closed
kleisauke opened this issue Feb 12, 2017 · 2 comments
Closed

support SVG image format #75

kleisauke opened this issue Feb 12, 2017 · 2 comments
Assignees
Labels
completed Feature or request has been completed enhancement New feature or request
Milestone

Comments

@kleisauke
Copy link
Member

support SVG image format [7236402]

Submitted by R+pixnet on 17-3-2015 0:00:00
5 votes on UserVoice prior to migration

Response

by Andries Louw Wolthuizen on 4-2-2016 0:00:00

I added (early) SVG support, it will output as PNG by default, example:
https://images.weserv.nl/?url=dev.w3.org/SVG/tools/svgweb/samples/svg-files/rg1024_green_grapes.svg&w=300
Commit:
5bf30b2
SVG-images are vector based, and the proxy works with bitmaps only. We don’t proxy files bit-for-bit, instead, the first frame of every image get’s processed towards a bitmap, which we eventually recode into (for example) an JPEG-file.
I’m afraid a lot of the quality gets lost. I’m also not sure about the need for resizing if you already have vector based images.

Comments

Comment by R+pixnet on 17-3-2015 9:59:00

ex:
http://images.weserv.nl/?url=assets.codepen.io/assets/logos/codepen-logo.svg&encoding=base64

Original UserVoice Submission

@kleisauke kleisauke added the started This issue is being worked on label Feb 12, 2017
@kleisauke kleisauke added this to the v3.0.0 milestone Feb 12, 2017
andrieslouw referenced this issue Feb 12, 2017
Added (early) SVG support, additional debug info when &detail is used in
the URL.
@andrieslouw andrieslouw added completed Feature or request has been completed and removed started This issue is being worked on labels Mar 28, 2017
@andrieslouw
Copy link
Member

Fixed in current version.

@andrieslouw andrieslouw added the enhancement New feature or request label Mar 28, 2017
@adin234
Copy link

adin234 commented May 17, 2017

can this proxy an svg+xml?

http://svgshare.com/i/1de.svg
GitHub Logo

https://images.weserv.nl/?url=svgshare.com/i/1de.svg
GitHub Logo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
completed Feature or request has been completed enhancement New feature or request
Development

No branches or pull requests

3 participants