]> git.nbdom.net Git - nb.git/commitdiff
img2png
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Sun, 20 Dec 2015 18:27:11 +0000 (18:27 +0000)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Sun, 20 Dec 2015 18:27:11 +0000 (18:27 +0000)
etc/profile.d/functions

index 5a993f9fd5134770da8ae25846354de26a613573..051d9b22763fd299ae27d62d3bab358fee8cd68a 100644 (file)
@@ -286,6 +286,10 @@ ls_img_black() {
   return $ret
 }
 
+img2pdf() {
+  convert -compress zip -colors 256 -colorspace GRAY $@
+}
+
 jpg2avi() {
 
   shell_help_noarg "Usage: $FUNCNAME [-h] JPG_FILES AVI_FILE" "$@" && return