serverless-image-handler icon indicating copy to clipboard operation
serverless-image-handler copied to clipboard

support svg

Open macrozone opened this issue 8 years ago • 17 comments

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)

macrozone avatar Jun 18 '18 14:06 macrozone

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: https://github.com/thumbor/thumbor/issues/1039

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

tomnight avatar Jun 28 '18 15:06 tomnight

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

ethereal-sandeep avatar Sep 24 '18 12:09 ethereal-sandeep

+1 this is a blocker for our usage also

Nevett avatar Jan 17 '19 20:01 Nevett

+1 this is a blocker

Sunil1993 avatar Feb 22 '19 11:02 Sunil1993

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!

hayesry avatar Feb 26 '19 14:02 hayesry

Hi, Kindly any update regarding this issue ?

AhmedRagheb avatar May 06 '19 12:05 AhmedRagheb

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.

hayesry avatar May 07 '19 14:05 hayesry

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

MartijnKooij avatar May 16 '19 08:05 MartijnKooij

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

shsenior avatar Jun 13 '19 16:06 shsenior

@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."}

AhmedRagheb avatar Jun 24 '19 11:06 AhmedRagheb

We too are waiting for this feature to become available.

umkasanki avatar Feb 22 '20 08:02 umkasanki

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."}

khajaordant avatar May 28 '20 04:05 khajaordant

Would be great to reopen this issue

karensg avatar Aug 07 '20 11:08 karensg

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."}

kajalkaushik7 avatar Sep 25 '20 07:09 kajalkaushik7

Are there already news about SVG support?

marco910 avatar Oct 16 '20 16:10 marco910

@marco910 Please wait, and It's coming!

beomseoklee avatar Oct 16 '20 17:10 beomseoklee

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."

singhvivek2503 avatar Mar 02 '21 15:03 singhvivek2503