Skip to content

omankame/image-pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

image-pdf

Image to PDF conversion with help Golang I had written two simple program. "compress.go" Program to compress the image and "pdf.go" to convert compressed jpg image in PDF format. Take image and run #go run compress.go "image.jpg" it will generate ==> compresimage.jpg Take this compressed image as input to program "pdf.go" and run # go run second.go "compre_adhar.jpg" "" It will generate pdf image. Check always image property and calculate with url https://uproer.com/articles/image-size-calculator-px-in/ Base upon you requirement you need to adjust imageoptions How to get all imageoptions ==> go doc gofpdf

About

Image to PDF conversion by using Go Lang

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published