Skip to content

IsraelWebDev/minimize-pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pdf-minimizer

An AWS Lambda function to downsample a PDF file using Ghostscript. The function reads a PDF file from a S3 bucket, uses Ghostscript to minimize the PDF, then writes the PDF file to a different S3 bucket. This function is triggered when a PDF file is placed in the new S3 bucket.

To install:

> cd lambda && npm install && cd ..

> ./build.sh <region> <bucket to upload the code> <new stack name> <new input bucket name> <output bucket>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages