Skip to content

Commit

Permalink
needs bnp
Browse files Browse the repository at this point in the history
  • Loading branch information
molarmanful committed Mar 7, 2024
1 parent b8bf527 commit 8c37ae6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion img.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#!/bin/bash -e

rm -rf out
mkdir -p out img
mkdir -p deps out img
true >test.txt

[ ! -f deps/BitsNPicas.jar ] && wget -O deps/BitsNPicas.jar https://github.com/kreativekorp/bitsnpicas/releases/latest/download/BitsNPicas.jar

bnp() {
java -jar deps/BitsNPicas.jar convertbitmap -f "$3" -o out/"$2.$3" "$1"
}
Expand Down

0 comments on commit 8c37ae6

Please sign in to comment.