Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Created to images in Dia, and draft script to make png from it

  • Loading branch information...
commit 1d58ac3f91db9270deaaa85b4d30d4c53a34a2ba 1 parent dd0682b
@limansky limansky authored
View
BIN  figures-dia/fig0101.dia
Binary file not shown
View
BIN  figures-dia/fig0102.dia
Binary file not shown
View
25 figures-dia/makeimages
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+# Process all dia images to OUTFORMAT images.
+# Usage: makeimages [lang]
+# If localized image is available - uses it, else uses default one.
+
+OUTFORMAT=png
+
+path="."
+outpath="."
+
+for img in `find $path -name "*.dia"`
+do
+ infile=$img
+ if [[ -n $1 ]]
+ then
+ tst=../$1/figures-dia/${img#$path/}
+ if [[ -f $tst ]]
+ then
+ infile=$tst
+ fi
+ fi
+ outfile=$outpath/${img%.dia}.$OUTFORMAT
+ dia $infile -e $outfile
+done
View
BIN  ru/figures-dia/fig0101.dia
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.