Skip to content

leonardosampaio/pdf_qrcode_reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDF qrcode extractor

Usage:

php reader.php /path/to/input.pdf /path/to/output.txt #(output file optional)

Dependencies:

Linux (php, convert, java and zbar-img should be in $PATH):

sudo apt install php7.4 #(7.4 or newer)
sudo apt install ghostscript
sudo apt install zbar-tools
sudo apt install imagemagick #(after installation do sudo rm /etc/ImageMagick-6/policy.xml)
sudo apt install openjdk-8-jdk #(8 or newer)

Windows (php, imagemagick, java and zbar-img should be in $Env:Path):

https://chocolatey.org/install    
choco install php --version=7.4.13 #(7.4 or newer)
choco install ghostscript #(9.54 or newer)
choco install imagemagick    
choco install zbar    
choco install openjdk8 #(8 or newer) 

or manually install from

https://windows.php.net/download/

https://sourceforge.net/projects/zbar/

https://www.ghostscript.com/download/gsdnld.html

https://imagemagick.org/script/download.php

https://openjdk.java.net/

About

PHP CLI app to extract qrcode values from pdf

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published