- #!/bin/bash
- #//ls *.jp2 | xjobs -j 4 ./thisfile.sh
- echo $1
- echo j2k_to_image -i $1 -o $1.bmp
- echo convert -resize 50\% -quality 50 $1.bmp $1.jpg
- echo rm $1.bmp
- #235 pgs -j 4 1:12
- #235 pgs -j 1 3:07 aka none
- ls *.jpg | awk '1==1 {printf("convert -resize 10\% -quality 70 %s small/%s\n",$0,$0);}' | sh
- ls *.jpg | awk '1==1{printf("<img src=\"%s\" width=\"128\">\n",$0);}' >index.html
- ls *.jpg | awk '1==1{printf("<figure style=\"display: inline-block; margin: 0;\"><img src=\"%s\"><figcaption>%s</figcaption></figure>\n",$0,$0);}' >index.html
jp2 to jpg 50%
Posted by Anonymous on Fri 22nd Dec 2017 22:28
raw | new post
modification of post by Anonymous (view diff)
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.