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 #31

Closed
macrozone opened this issue Jun 18, 2018 · 17 comments
Closed

support svg #31

macrozone opened this issue Jun 18, 2018 · 17 comments

Comments

@macrozone
Copy link

svg does not seem to be supported on the Serverless Image Handler template. I get the following error:

convert_svg_to_png failed cairosvg not
imported (if you want svg conversion to png please install cairosvg)
@tomnight
Copy link
Contributor

The current version of image handler does not support SVG but its something we will look into and add to the solution roadmap.

There's a thread on the thumbor repository that may be of help if this is something your looking to add: thumbor/thumbor#1039

Adding cairosvg seems to the be the best way to implement svg support.

@ethereal-sandeep
Copy link

@tomnight , its a much needed feature. Due to this i am unable to use the deployed solution

@Nevett
Copy link

Nevett commented Jan 17, 2019

+1 this is a blocker for our usage also

@Sunil1993
Copy link

+1 this is a blocker

@hayesry
Copy link
Member

hayesry commented Feb 26, 2019

Hi all. We're currently in the process of updating the solution and will be sure to add SVG support to our feature backlog. Thanks for your feedback!

@AhmedRagheb
Copy link

Hi, Kindly any update regarding this issue ?

@hayesry
Copy link
Member

hayesry commented May 7, 2019

Hi @AhmedRagheb, we've added SVG support to our feature backlog but don't currently have an ETA for when support can/will be added to the production solution. Thanks for checking in on this and hope to have a solution to this soon.

@MartijnKooij
Copy link

+1 just wanted to chime in and say that we too are waiting for this feature to become available.

@shsenior
Copy link
Contributor

We have added this as a feature request to our backlog for an upcoming release.

@AhmedRagheb
Copy link

AhmedRagheb commented Jun 24, 2019

@shsenior Did it already released by now?

I'm getting this message now

{"status":400,"code":"RequestTypeError","message":"The type of request you are making could not be processed. Please ensure that your original image is of a supported file type (jpg, png, tiff, webp) and that your image request is provided in the correct syntax. Refer to the documentation for additional guidance on forming image requests."}

@umkasanki
Copy link

We too are waiting for this feature to become available.

@khajaordant
Copy link

We are getting same error in cloudfront

https://d1ftxo8vu8pjv4.cloudfront.net/Icons/5ecf3f7111383e0f7e6e0504.svg

Url says

{"status":400,"code":"RequestTypeError","message":"The type of request you are making could not be processed. Please ensure that your original image is of a supported file type (jpg, png, tiff, webp) and that your image request is provided in the correct syntax. Refer to the documentation for additional guidance on forming image requests."}

@karensg
Copy link

karensg commented Aug 7, 2020

Would be great to reopen this issue

@kajalkaushik7
Copy link

I am facing the same issue. Do you guys got any solution?

{"status":400,"code":"RequestTypeError","message":"The type of request you are making could not be processed. Please ensure that your original image is of a supported file type (jpg, png, tiff, webp) and that your image request is provided in the correct syntax. Refer to the documentation for additional guidance on forming image requests."}

@marco910
Copy link

Are there already news about SVG support?

@beomseoklee
Copy link
Member

@marco910 Please wait, and It's coming!

@singhvivek2503
Copy link

I am getting the same error "The file does not have an extension and the file type could not be inferred. Please ensure that your original image is of a supported file type (jpg, png, tiff, webp, svg). Refer to the documentation for additional guidance on forming image requests."

thisismana added a commit to thisismana/serverless-image-handler that referenced this issue Jan 28, 2022
* bumped to latest, merged some updates from upstream

* - adapted for new key pattern `/$YEAR/$MONTH/$MEDIA_ID/` ignoring file name and always using `image.$EXT`
- roundCrops
- improved local development by fixing invoke.js and making the logger env-aware

* - adapted for new key pattern `/$YEAR/$MONTH/$MEDIA_ID/` ignoring file name and always using `image.$EXT`
- roundCrops
- improved local development by fixing invoke.js and making the logger env-aware
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