my changes

pdf2jpg
Castro0o 5 years ago
parent bdb42043e0
commit 273a6cf2f2

@ -7,8 +7,9 @@ python3 upload_imgs_dir.py \
--org 'Communist Party of the Philippines' \
--format 'Bulletin' \
--topic 'Communism, Armed Struggle' \
--dir '/full/path/to/2020_bantayog/Folder name' \
# --dry
--dir '/home/andre/Documents/xpub/2019_2021/SI11/2020_bantayog/Ang Bayan, December 1984, Sc CJ Cortez, 2020Jan17' \
--dry
# Note:
# * Add this values to you upload specific upload.

@ -0,0 +1,8 @@
#!/bin/sh
PDF="$1"
echo "$PDF"
DIR=`echo "$PDF" | sed s/\.pdf//`
echo "$DIR"
mkdir "$DIR"
convert -quality 100 -density 300 $1 "$DIR/"%02d.jpg
Loading…
Cancel
Save