Convert JPEG images from S3 bucket to BMP, GIF, PNG into another bucket

aws-lambda

Convert JPEG images from S3 bucket to BMP, GIF, PNG into another bucket

Setup two buckets

  • jpeg-images for source jpeg images
  • converted-jpeg-images for converted jpeg images

Setup lambda

  • Create Go 1.x lambda function with S3 trigger (jpeg-images)
  • Build go executable
cd ./function
GOOS=linux go build -o converter-function main.go
  • Make zip from converter-function executable and upload to AWS lambda

img_2.png

Test

Upload jpg image to jpeg-images bucket

jpeg-images img.png

converted-jpeg-images after couple of seconds img_1.png

and check CloudWatch logs img_3.png

Owner
Volodymyr Tochytskyi
https://www.linkedin.com/in/tochytskyi/
Volodymyr Tochytskyi
Similar Resources

A cross-platform tool to convert images into ascii art and print them on the console

A cross-platform tool to convert images into ascii art and print them on the console

A cross-platform tool to convert images into ascii art and print them on the console

Dec 30, 2022

Simple ANSi to PNG converter written in pure Go

AnsiGo Description AnsiGo is a simple ANSi to PNG converter written in pure Go. It converts files containing ANSi sequences (.ANS) into PNG images. Fo

May 17, 2022

gif effects CLI. single binary, no dependencies. linux, osx, windows.

gif effects CLI. single binary, no dependencies. linux, osx, windows.

yeetgif Composable GIF effects CLI, with reasonable defaults. Made for custom Slack/Discord emoji :) Get it Alternative 1: go get Alternative 2: just

Dec 11, 2022

A Go program that takes an image, uses pigo to detect a face, and creates a gif that zooms in on the face

A Go program that takes an image, uses pigo to detect a face, and creates a gif that zooms in on the face

ok-zoomer Every GIF is a gift. How it works face detection with esimov/pigo color quantization / dithering with esimov/colorquant image resizing with

Nov 27, 2022

A Free 8-Bit Sprite Generator. Create 256 variants from a single template .PNG

A Free 8-Bit Sprite Generator.  Create 256 variants from a single template .PNG

BitSprite A Free 8-Bit Sprite Generator. What? BitSprite is a program that creates variants of an image across total sprite sheet of the resultant ima

Sep 20, 2022

A bot that greets new members on telegram groups with a cute, personalised gif.

A bot that greets new members on telegram groups with a cute, personalised gif.

Telegram-senko-bot About The Bot This bot greets new members on telegram groups with a cute, personalised gif with Senko-san. In case you're wondering

Nov 5, 2022

Paprika is a toolbox for creating short clips from multiple png files.

Paprika is a toolbox for creating short clips from multiple png files.

Paprika Paprika is a toolbox for creating short clips from multiple png files. Requirements This program is mainly a wrapper around ffmpeg. As such, y

Feb 16, 2022

Go program that outputs a GIF with the lissajous figures using green and black

lissajousgb This is an exercise of the book The Go Programming Language, by Alan

Dec 18, 2021

A festive Christmas tree GIF generator implemented using only Golang standard library code

A festive Christmas tree GIF generator implemented using only Golang standard library code

Christmas Tree GIF Generator A festive Christmas tree GIF generator implemented

Feb 4, 2022

Go-gif - Backend microservice supporting GoGifUrself

go-gif Description Backend microservice supporting GoGifUrself. Dev Process Pull

Jan 9, 2022

Very simple SVG to PNG converter library using the Inkscape.

svg2png Description Very simple SVG to PNG converter library using the Inkscape.

Jan 11, 2022

Snippit - Creates syntax-highlighted code snippets in png or svg format

Snippit - Creates syntax-highlighted code snippets in png or svg format

snippit creates syntax-highlighted code snippets in png or svg format. Installat

Oct 10, 2022

Code for creating GIF replays of games played on Woogles.io.

woogles-game-gifs Code for creating GIF replays of games played on Woogles.io. Requirements Go is required to run the gif generator. To install, refer

Jan 31, 2022

Read data from rss, convert in pdf and send to kindle. Amazon automatically convert them in azw3.

Kindle-RSS-PDF-AZW3 The Kindle RSS PDF AZW3 is a personal project. The Kindle RSS PDF AZW3 is a personal project. I received a Kindle for Christmas, a

Jan 10, 2022

Convert images to computer generated art using delaunay triangulation.

Convert images to computer generated art using delaunay triangulation.

▲ Triangle is a tool for generating triangulated image using delaunay triangulation. It takes a source image and converts it to an abstract image comp

Dec 29, 2022

Small project to convert images to grayscale

This is a small http server that will read images from a provided path, convert the image to gray, and then serve back the converted image Usage You c

Nov 5, 2021

Work with remote images registries - retrieving information, images, signing content

skopeo skopeo is a command line utility that performs various operations on container images and image repositories. skopeo does not require the user

Jan 5, 2023

An image server which automatically optimize non webp and avif images to webp and avif images

go-imageserver go-imageserver is an image server which automatically optimize no

Apr 18, 2022

A discord bot that mumbles the audio from another room into your room (WIP)

DiscordGo Voice Receive Example This example experiments with receiving voice data from Discord. It joins a specified voice channel, listens for 10 se

Dec 11, 2021
Empty an S3 bucket as fast as possible 💨

s3-destroyer Iteratively calls ListObjects, add objects keys to a buffer and calls DeleteObject in goroutines. Usage -access-key string s3 a

Dec 13, 2021
yet another movie database api

##Yet Another Movie Database API API Method URL Pattern Action GET /v1/healthcheck Show application health and version information GET /v1/movies Show

Nov 30, 2021
Convert IBM stanza-style files to json and publish as an API

stanza_to_json Convert IBM stanza-style files to json and publish as an API Background IBM Stanza files have been extended to be used in other ways, b

Feb 2, 2022
Triangula-api-server - API server for processing images with Triangula

Triangula API server Minimalistic API server that calculates and serves artistic

Jan 10, 2022
Read the text of memes, then inject that text into the image as searchable metadata.
Read the text of memes, then inject that text into the image as searchable metadata.

Make Meme Text Searchable I have an extensive set of memes I've been collecting since the early days of Flickr. #icanhascheeseburger It's a pain in th

May 2, 2022
Resize upladed images to s3 bucket with given sizes, and uploades new images back to bucket

Features Resize upladed images to s3 bucket with given sizes, and uploades new images back to bucket Environment Variables IMAGE_SIZES - formax 200x20

Feb 2, 2022
Image size analyzer for jpg/png/gif/webp

imgsz Image size analyzer for jpg/png/gif/webp Usage // DecodeSize decodes the dimensions of an image that has // been encoded in a registered format.

Jan 8, 2022
BMP image decoder and encoder

bmp Package bmp implements a BMP image decoder and encoder. The BMP specification is at http://www.digicamsoft.com/bmp/bmp.html. Supported BMP feature

Nov 25, 2022
JPEG-MPO Decoder / Converter Library and CLI Tool

MPO Decoder Library Simple Go JPEG MPO (Multi Picture Object) Decoder - Library and CLI Tool The library and CLI tool contain the ability to convert M

Sep 26, 2022
Go-Generative-Art-A - Generate PNG art from source images! GOLang Generative Art
Go-Generative-Art-A - Generate PNG art from source images! GOLang Generative Art

GO Lang Generative Art Tool A Take source images and generate art utilizing sour

Nov 21, 2022