https://github.com/jaredpersonalorganization/aws-cdk-go-image-transform
AWS Serverless Image Transform Pipeline created using the CDK and written purely in Go.
https://github.com/jaredpersonalorganization/aws-cdk-go-image-transform
aws aws-lamda cdk golang images sns sqs
Last synced: 30 days ago
JSON representation
AWS Serverless Image Transform Pipeline created using the CDK and written purely in Go.
- Host: GitHub
- URL: https://github.com/jaredpersonalorganization/aws-cdk-go-image-transform
- Owner: JaredPersonalOrganization
- Created: 2024-08-25T00:22:34.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-07T14:11:05.000Z (over 1 year ago)
- Last Synced: 2025-05-23T20:40:56.528Z (about 1 year ago)
- Topics: aws, aws-lamda, cdk, golang, images, sns, sqs
- Language: Go
- Homepage:
- Size: 6.08 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
After looking back on this project after a couple of months, it's inefficent and overly complicated. But the code can still be used as a reference.

The user must provide the image transforms during the POST request
## Example
```json
{
"ObjectName": "image.jpg",
"Transforms": [
{
"Name": "grayscale"
},
{
"Name": "edgedetection",
"Params": ["0.5"]
},
]
}
```
## Supported Transforms
- grayscale
- sharpen
- edgedetection
- dilate
- erode
- median
- emboss
- invert
- sepia
- sharpen
- sobel
## Example Usage
```json
{
"ObjectName": "image.jpg",
"Transforms": [
{
"Name": "grayscale"
},
{
"Name": "sharpen"
},
{
"Name": "edgedetection",
"Params": ["0.5"]
},
{
"Name": "dilate",
"Params": ["1"]
},
{
"Name": "erode",
"Params": ["0.75"]
},
{
"Name": "median",
"Params": ["0.24"]
},
{
"Name": "emboss"
},
{
"Name": "invert"
},
{
"Name": "sepia"
},
{
"Name": "sharpen"
},
{
"Name": "sobel"
}
]
}
```
## Input Image

## Output Image

Be aware that you can max out memory usage with high resolutions, potentially causing the Lambda function to time out.