Skip to content

Mindinventory/Golang-PDF-to-Image-Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDF to Image Converter Using Golang

License: MIT

This project is meant to be an support for implementation of PDF-to-IMAGES conversion without any quality compromising. Our goal for the viewer is to understand the core principles that go behind the development of such a complex conversion model and the nuances of training the individual processes for conversion with same quality. Once the core principles are understood, the various parts of the conversion process can be available at any time for usage in any project.

Contents

Overview

Those who have done conversions from PDF to IMAGES, this repo will be very beneficial for them, because it has no quality compromising and we can increase/decrease the quality as per our requirement:

  1. You have a PDF file as an input which you want to convert in IMAGES.
  2. Add your PDF file in pdf folder.
  3. As soon as the conversion program runs the images will generate in img folder inside the folder having name same as PDF file name.
  4. Whatever the number of pages in PDF file same number of images will generate inside the img/{PDF_NAME} folder.

Now let us elaborate the Basic setup steps.

Quickstart

For those who just want to see converted images, follow the overview steps and run the following code (make sure you have installed the stable go in your system):

go mod tidy
go run main.go

PDF Sample

pdf-input

This browser does not support PDFs. Please download the PDF to view it: Download PDF.

Converted Image Sample

img-output

Get the image output click here.

LICENSE

Golang HTML to PDF Converter is MIT-licensed

Let us know

We’d be really happy if you sent us links to your projects where you use our component. Just email to sales@mindinventory.com and do let us know if you have any questions or suggestion regarding our work.