Skip to content

jdomzhang/pdf2jpg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pdf2jpg

pdfium

cross-compile

target

rustup target list
rustup target add x86_64-unknown-linux-musl

build on macos for linux

TARGET_CC=x86_64-linux-musl-gcc cargo build --release --target x86_64-unknown-linux-musl

install on mac

sudo wget -q https://cdn.edesoft.com/tools/pdf2jpg/macos/pdf2jpg -O /usr/local/bin/pdf2jpg
sudo chmod 777 /usr/local/bin/pdf2jpg
sudo wget -q https://cdn.edesoft.com/tools/pdf2jpg/macos/libpdfium.dylib -O /usr/local/lib/libpdfium.dylib

install on linux

sudo wget -q https://cdn.edesoft.com/tools/pdf2jpg/linux/pdf2jpg -O /usr/local/bin/pdf2jpg
sudo chmod 777 /usr/local/bin/pdf2jpg
sudo wget -q https://cdn.edesoft.com/tools/pdf2jpg/linux/libpdfium.so -O /usr/local/lib/libpdfium.so

About

convert pdf to jpg files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages