Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
SirYaro authored Dec 30, 2021
1 parent ef5aafc commit 8426fbc
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
This script arrange specified images on A4 sheet<BR>
<BR>
--<BR>
Set it up<BR>
**Set it up**<BR>
`sudo apt -y install imagemagick git`<BR>
<BR>
Change ImageMagic permissions<BR>
Expand All @@ -14,12 +14,12 @@ cd /etc/ImageMagick-6 #check if that is correct directory
sudo xmlstarlet edit -L --update "/policymap/policy[@name='disk']/@value" --value "16GiB" policy.xml #allows to handle files up to 16GB
sudo xmlstarlet edit -L --subnode "/policymap" --type elem --name 'policy domain="coder" rights="read | write" pattern="PDF" ' policy.xml #allows read/write pdfs
```
Instalation<BR>
**Instalation**<BR>
```
git clone [email protected]:SirYaro/arrange_cards.git
cd arrange_cards
```
Testing<br>
**Testing**<br>
Try to run `sample_generate.sh` in one of sample_envX directories:<BR>
<BR>
ex:
Expand All @@ -28,10 +28,14 @@ cd sample_env
cat sample_generate.sh # to check what you're about to run
./sample_generate.sh
```
<BR>
and then look for filename.pdf.
<BR>
and then look for filename.pdf.<BR>
For much more advanced example please check sample_env3
```
cd sample_env3
cat sample_generate.sh
./sample_generate.sh
```

Note
**Note**<BR>
ImageMagick version: 6.7.7-10 2014-03-06 Q16 have/had some bug in flop function which caused unwanted images color changes. ImageMagick version 6.8.9-9 Q16 x86_64 seems to work fine.

0 comments on commit 8426fbc

Please sign in to comment.