aws-solutions / serverless-image-handler

A solution to dynamically handle images on the fly, utilizing SharpJS
Apache License 2.0
1.32k stars 534 forks source link

Support for Thumbor "bmp" images #212

Open Furytron opened 4 years ago

Furytron commented 4 years ago

When using a "bmp" image I get the following error, so I assume its not supported just like gifs

Error

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

An example URL: https://test.cloudfront.net/filters:grayscale()/media/lena_gray.bmp

Can support be added or should this already work?

beomseoklee commented 4 years ago

Thanks for contacting us again @Furytron Currently, it blocks when file extension is not either of jpg, png, tiff, and webp. We would consider if we can add bmp supporting in the next release.

github-actions[bot] commented 2 years ago

This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.

github-actions[bot] commented 2 years ago

This issue was closed because it has been inactive for 7 days since being marked as closing-soon.

Furytron commented 2 years ago

Please reopen issue.

dougtoppin commented 2 years ago

We will add an evaluation of this to our backlog

github-actions[bot] commented 1 year ago

This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.

coelhosandro commented 1 year ago

Hi @Furytron ,@beomseoklee, @dougtoppin

We had the same problem at @distilledmedia and was solved by this PR https://github.com/aws-solutions/serverless-image-handler/pull/483