You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- AWS Lambda `413` error handling. When the response payload is bigger than 6MB, it throws `TooLargeImageException`: [#35](https://github.com/awslabs/serverless-image-handler/issues/35), [#97](https://github.com/awslabs/serverless-image-handler/issues/97), [#193](https://github.com/awslabs/serverless-image-handler/issues/193), [#204](https://github.com/awslabs/serverless-image-handler/issues/204)
- Add `SVG` support. When any edits are used, the output would be automatically `PNG` unless the output format is specified: [#31](https://github.com/awslabs/serverless-image-handler/issues/31), [#234](https://github.com/awslabs/serverless-image-handler/issues/234)
Copy file name to clipboardExpand all lines: README.md
+8-16Lines changed: 8 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
**_Important Notice:_**
2
-
Due to a [change in the AWS Lambda execution environment](https://aws.amazon.com/blogs/compute/upcoming-updates-to-the-aws-lambda-execution-environment/), Serverless Image Handler v3 deployments are functionally broken. To address the issue we have released [minor version update v3.1.1](https://solutions-reference.s3.amazonaws.com/serverless-image-handler/v3.1.1/serverless-image-handler.template). We recommend all users of v3 to run cloudformation stack update with v3.1.1. Additionally, we suggest you to look at v4 of the solution and migrate to v4 if it addresses all of your use cases.
2
+
Due to a [change in the AWS Lambda execution environment](https://aws.amazon.com/blogs/compute/upcoming-updates-to-the-aws-lambda-execution-environment/), Serverless Image Handler v3 deployments are functionally broken. To address the issue we have released [minor version update v3.1.1](https://solutions-reference.s3.amazonaws.com/serverless-image-handler/v3.1.1/serverless-image-handler.template). We recommend all users of v3 to run cloudformation stack update with v3.1.1. Additionally, we suggest you to look at v5 of the solution and migrate to v5 if it addresses all of your use cases.
3
3
4
4
# AWS Serverless Image Handler Lambda wrapper for SharpJS
5
5
A solution to dynamically handle images on the fly, utilizing Sharp (https://sharp.pixelplumbing.com/en/stable/).
6
6
Published version, additional details and documentation are available here: https://aws.amazon.com/solutions/serverless-image-handler/
7
7
8
-
_Note:_ it is recommend to build the application binary on Amazon Linux.
8
+
_Note:_ it is recommended to build the application binary on Amazon Linux.
9
9
10
10
## On This Page
11
11
-[Architecture Overview](#architecture-overview)
@@ -14,7 +14,7 @@ _Note:_ it is recommend to build the application binary on Amazon Linux.
14
14
-[License](#license)
15
15
16
16
## Architecture Overview
17
-

17
+

18
18
19
19
The AWS CloudFormation template deploys an Amazon CloudFront distribution, Amazon API Gateway REST API, and an AWS Lambda function. Amazon CloudFront provides a caching layer to reduce the cost of image processing and the latency of subsequent image delivery. The Amazon API Gateway provides endpoint resources and triggers the AWS Lambda function. The AWS Lambda function retrieves the image from the customer's Amazon Simple Storage Service (Amazon S3) bucket and uses Sharp to return a modified version of the image to the API Gateway. Additionally, the solution generates a CloudFront domain name that provides cached access to the image handler API.
-[@john-shaffer](https://github.com/john-shaffer) for [#158](https://github.com/awslabs/serverless-image-handler/pull/158)
82
82
-[@toredash](https://github.com/toredash) for [#174](https://github.com/awslabs/serverless-image-handler/pull/174), [#195](https://github.com/awslabs/serverless-image-handler/pull/195)
83
83
-[@lith-imad](https://github.com/lith-imad) for [#194](https://github.com/awslabs/serverless-image-handler/pull/194)
84
+
-[@pch](https://github.com/pch) for [#227](https://github.com/awslabs/serverless-image-handler/pull/227)
85
+
-[@atrope](https://github.com/atrope) for [#201](https://github.com/awslabs/serverless-image-handler/pull/201)
86
+
-[@bretto36](https://github.com/bretto36) for [#182](https://github.com/awslabs/serverless-image-handler/pull/182)
84
87
85
88
***
86
89
## License
87
-
Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
88
-
89
-
Licensed under the Apache License, Version 2.0 (the "License");
90
-
you may not use this file except in compliance with the License.
91
-
You may obtain a copy of the License at
92
-
93
-
http://www.apache.org/licenses/LICENSE-2.0
94
-
95
-
Unless required by applicable law or agreed to in writing, software
96
-
distributed under the License is distributed on an "AS IS" BASIS,
97
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
98
-
See the License for the specific language governing permissions and
99
-
limitations under the License.
90
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.<br />
0 commit comments