Mercurial > hg > digilib-old
comparison webapp/src/main/webapp/jquery/img/gen_fullscreen_icons.cmd @ 1137:3b5968aeefac
new region icons; autozoom on click
author | hertzhaft |
---|---|
date | Fri, 16 Nov 2012 18:26:55 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1136:95ca45086d00 | 1137:3b5968aeefac |
---|---|
1 @echo off | |
2 setlocal | |
3 set SVGFILE=fullscreen3.svg | |
4 set XSLTFILE=gen_fullscreen_icons.xsl | |
5 set SVGDIR=fullscreen\svg_gen | |
6 rem PNG directory relative to SVGDIR | |
7 set PNGDIR=32 | |
8 | |
9 rem run XSLT to create separate SVG files (in fullscreen/svg) | |
10 set SAXON=java -jar U:\Programme\Saxon-9.1\saxon9.jar | |
11 echo Running Saxon to create separate SVGs | |
12 mkdir %SVGDIR% | |
13 %SAXON% %SVGFILE% %XSLTFILE% | |
14 | |
15 rem create PNGs from separate SVGs using inkscape | |
16 set INKSCAPE=U:\programme\inkscape\inkscape.exe | |
17 echo Running Inkscape to create PNGs | |
18 cd %SVGDIR% | |
19 mkdir %PNGDIR% | |
20 for %%f in (*.svg) do ( | |
21 echo %%f | |
22 %INKSCAPE% --file=%%f --export-height=32 --export-png=%PNGDIR%\%%~nf.png | |
23 ) | |
24 | |
25 echo done. | |
26 endlocal |