author | František Kučera <franta-hg@frantovo.cz> |
Mon, 17 Nov 2014 21:59:20 +0100 | |
changeset 17 | 505031965440 |
parent 0 | 454b46a3c68a |
child 20 | 4e4ad30c17d4 |
permissions | -rw-r--r-- |
franta-hg@0 | 1 |
copy-image-resizer |
franta-hg@0 | 2 |
------------------ |
franta-hg@0 | 3 |
|
franta-hg@0 | 4 |
An CLI tool written in Java for resizing images. |
franta-hg@0 | 5 |
Recursively transfers a tree of files and directories and resizes images. |
franta-hg@0 | 6 |
|
franta-hg@0 | 7 |
|
franta-hg@0 | 8 |
Why? |
franta-hg@0 | 9 |
---- |
franta-hg@0 | 10 |
|
franta-hg@0 | 11 |
If you have fully-fledged operating system like some GNU/Linux distribution, |
franta-hg@0 | 12 |
you will probably use better tool for resizing images. |
franta-hg@0 | 13 |
In Debian or Ubuntu you can easilly install ImageMagick: |
franta-hg@0 | 14 |
apt install imagemagick |
franta-hg@0 | 15 |
and resize images: |
franta-hg@0 | 16 |
convert ${input} -resize 1200x1200 -quality 80 ${output}; |
franta-hg@0 | 17 |
or write some shell script around it. |
franta-hg@0 | 18 |
|
franta-hg@0 | 19 |
But if you need a multiplatform tool with minimal requirements, |
franta-hg@0 | 20 |
the copy-image-resizer might be useful. |
franta-hg@0 | 21 |
|
franta-hg@0 | 22 |
|
franta-hg@0 | 23 |
How? |
franta-hg@0 | 24 |
---- |
franta-hg@0 | 25 |
|
franta-hg@0 | 26 |