From dba5dc516dafaec5079a988219c6447f692f6c45 Mon Sep 17 00:00:00 2001 From: fred Date: Mon, 20 Sep 2021 03:03:42 +0200 Subject: [PATCH] convert -crop 1260x420+55+30 ./bulle.jpg ./$lid.jpg --- actions/p4n.swarmscraper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/p4n.swarmscraper.sh b/actions/p4n.swarmscraper.sh index 85c68bb..afba4e0 100755 --- a/actions/p4n.swarmscraper.sh +++ b/actions/p4n.swarmscraper.sh @@ -137,7 +137,7 @@ echo "SUB-SCRAPING lieu FROM $geodata" ## PDF convert and crop to JPG / ipfs add / index.html for redirect if [ -f ./output.pdf ]; then convert -density 300 -quality 80 ./bulle.pdf ./bulle.jpg - convert -crop 1205x250+55+30 ./bulle.jpg ./$lid.jpg + convert -crop 1260x420+55+30 ./bulle.jpg ./$lid.jpg IPFS=$(ipfs add -wq "./$lid.jpg") ## Add $lid.pdf to IPFS IPFSREPFILEID=$(echo $IPFS | cut -d ' ' -f 2) ## Get repertory ipfs link