source: BOL/Multi_atlas/atlas/make_pdf2png.sh @ 4674

Last change on this file since 4674 was 4315, checked in by musat, 2 years ago

Script images png
IonelaMusat?

  • Property svn:executable set to *
File size: 656 bytes
Line 
1#!/bin/bash
2
3dirpng=$1
4seas=$2
5proj=$3
6sim=$4 
7ref=$5 
8var=$6
9
10din=${dirpng}/${seas}/$ref/MAP/${proj}
11cd ${din}
12convert ${var}.pdf ${var}.png
13convert -size 1500x1000 xc:white ${var}.png -geometry 1440x890+30+30 -composite -trim -gravity North ${var}.png
14
15din=${dirpng}/${seas}/${sim}/MAP/${proj}
16cd ${din}
17convert ${var}.pdf ${var}.png
18convert -size 1500x1000 xc:white ${var}.png -geometry 1440x890+30+30 -composite -trim -gravity North ${var}.png
19
20din=${dirpng}/${seas}/${sim}/DMAP_${ref}/${proj}
21cd ${din}
22convert ${var}.pdf ${var}.png
23convert -size 1500x1000 xc:white ${var}.png -geometry 1440x890+30+30 -composite -trim -gravity North ${var}.png
24
25exit
Note: See TracBrowser for help on using the repository browser.