Skip to content

A cloud function that compresses and converts images to webp format. These images must be stored in cloud storage.

Notifications You must be signed in to change notification settings

k-man-null/image-compressor-cloud-function

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Image Compression Cloud Function

How It Works

The function is triggerd by an event created when an image is uploaded to the Cloud Storage bucket.

** Make sure you have activated the necessary GCLOUD apis

** Make sure you have two sorage buckets, one for compressed images and aother for uncompressed images

NOTE

The cloud function will automatically delete images when an image is succesfully compressed and converted to webp.

GIVE THE CLOUD FUNTION at least 512 MB memory and 1 CPU

About

A cloud function that compresses and converts images to webp format. These images must be stored in cloud storage.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published