TIFF conversion to PNG and aggregated PDF combined in semtiffconv.sh.

For use with new SEM images.
Just run the command once, and PNG files and one PDF will be created in
working directory where semtiffconv.sh is called.
master
Taha Ahmed 13 years ago
parent 74182ae148
commit 7d88ea27cc

@ -32,7 +32,7 @@ Rfiletype="R"
TeXfiletype="tex" TeXfiletype="tex"
tikzfiles="*.tikz" tikzfiles="*.tikz"
Rnwfiles="*.Rnw" Rnwfiles="*.Rnw"
auxfiles="*.aux *.bbl *.bcf *.blg *.fdb* *.figlist *.lof *.log *.lox *.makefile *.map *.out *.run* *.tdo *.toc *.dep *.dpth" auxfiles="*.aux *.bbl *.bcf *.blg *.fdb* *.figlist *.lof *.log *.lot *.lox *.makefile *.map *.out *.run* *.tdo *.toc *.dep *.dpth"
if [ $# -eq 1 ]; then if [ $# -eq 1 ]; then
# Check if the argument contains a filetype # Check if the argument contains a filetype

@ -0,0 +1,9 @@
#!/bin/bash
## Convert TIFF images into PNG images and create an aggregated PDF
## Written August 20, 2010
## Taha Ahmed
mogrify -format png *.tif
convert *.tif ${PWD##*/}.pdf
exit 1
Loading…
Cancel
Save