Code Monkey home page Code Monkey logo

pdf-diff's Introduction

# Doing PDF Diff (using Alpine on Docker)

  The program will make a comparison of 2 PDF files, and highlight the differences into png image file.

## Start docker container

  Let's start the alpine and put it into background.
  The name for the container will be *alpine-pdf-diff*.

  Make sure you run in the folder that you want the PDF files to be compared.
  And it will mount to /pdf folder in the Alpine.

  docker run --name alpine-pdf-diff -dt -v `pwd`:/pdf -w /pdf junyong/pdf-diff

  Change *`pwd`* to "%CD%" if you are running in windows environment.
  Using terminal that comes with the Docker toolbox is fine with `pwd`.
  
## Use PDF diff to compare 2 PDFs

  Go to the folder (stated above) that run the container.

  Now, let's say you want to compare RR-16898.pdf and RR-16900.pdf, run the following

  docker exec alpine-pdf-diff pdf-diff RR-16898.pdf RR-16900.pdf > diff.png

  diff.png will be generated in the current folder.
  Just open to view it, the difference will be highlighted using red color line or box.

 

pdf-diff's People

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.