|
|
@ -65,33 +65,34 @@ sudo chmod 777 merge_scans.sh workshop_stream.sh marge_files.sh |
|
|
|
```bash |
|
|
|
nano /etc/ImageMagic-6/policy.xml |
|
|
|
``` |
|
|
|
ImageMagick came with very low limits: |
|
|
|
|
|
|
|
Resource limits: |
|
|
|
Width: 16KP |
|
|
|
Height: 16KP |
|
|
|
Area: 128MP |
|
|
|
Memory: 256MiB |
|
|
|
Map: 512MiB |
|
|
|
Disk: 1GiB |
|
|
|
File: 768 |
|
|
|
Thread: 4 |
|
|
|
Throttle: 0 |
|
|
|
Time: unlimited |
|
|
|
|
|
|
|
change /etc/ImageMagick-6/policy.xml to more sensible defaults: |
|
|
|
|
|
|
|
Resource limits: |
|
|
|
Width: 128KP |
|
|
|
Height: 128KP |
|
|
|
Area: 1.0737GP |
|
|
|
Memory: 2GiB |
|
|
|
Map: 4GiB |
|
|
|
Disk: 8GiB |
|
|
|
File: 768 |
|
|
|
Thread: 4 |
|
|
|
Throttle: 0 |
|
|
|
Time: unlimited |
|
|
|
|
|
|
|
<p>ImageMagick comes with very low limits:</p> |
|
|
|
|
|
|
|
Resource limits:<br> |
|
|
|
Width: 16KP<br> |
|
|
|
Height: 16KP<br> |
|
|
|
Area: 128MP<br> |
|
|
|
Memory: 256MiB<br> |
|
|
|
Map: 512MiB<br> |
|
|
|
Disk: 1GiB<br> |
|
|
|
File: 768<br> |
|
|
|
Thread: 4<br> |
|
|
|
Throttle: 0<br> |
|
|
|
Time: unlimited<br> |
|
|
|
|
|
|
|
<p>change /etc/ImageMagick-6/policy.xml to more sensible defaults:</p> |
|
|
|
|
|
|
|
Resource limits:<br> |
|
|
|
Width: 128KP<br> |
|
|
|
Height: 128KP<br> |
|
|
|
Area: 1.0737GP<br> |
|
|
|
Memory: 2GiB<br> |
|
|
|
Map: 4GiB<br> |
|
|
|
Disk: 8GiB<br> |
|
|
|
File: 768<br> |
|
|
|
Thread: 4<br> |
|
|
|
Throttle: 0<br> |
|
|
|
Time: unlimited<br> |
|
|
|
|
|
|
|
|
|
|
|
###RUN |
|
|
|