-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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> | ||
|
@@ -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: | ||
|
@@ -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. | ||
|