Skip to content

stepanv/hackathon-pdf-to-jpeg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDF to JPG converter

This is a PDF to JPG Converter powered by Google Cloud Engine.

DISCLAIMER: Note that this project was updated with a pdf2jpg module (which leverages improves the conversion performance by parallel pdf to jpg conversion on multiple K8N nodes) on 5:40 PST December 15 2016

Build and Deployment

  1. To build the application, execute:

    GCLOUD_PROJECT=??? GCLOUD_STORAGE_BUCKET=??? ./build.sh 
    

    The deployment uses kubectl which needs to be activated somehow. For instance, by running cloud container clusters get-credentials ...

  2. Create Google Storage bucket

Description

Usage

  1. Deploy the applications to the Kubernetes and
  2. access the exposed address of the ui service such as http://104.197.108.252:8080/
  3. Follow the instructions on the page and upload a PDF file
  4. Download the resulting ZIP archive that contains JPEG files per each page of PDF

Design

Microservices:

  1. UI
  2. PDF Split (splits PDF per each page) + zipper and Google Cloud storage uploader
  3. (UPDATED at 5:20 PST December 15 2016) Conversion (parallel conversion of a single page PDF to a JPG) per each

About

Google cloud powered pdf to jpeg convertor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published