Adding resizing of vector formats to no bigger than 800x700.

Tue, 10 Feb 2009 13:45:48 +0000

author
andy
date
Tue, 10 Feb 2009 13:45:48 +0000
changeset 10
e0d5bcbe6c62
parent 9
38012d2998c1
child 11
4abc4961af49

Adding resizing of vector formats to no bigger than 800x700.

emin file | annotate | diff | comparison | revisions
     1.1 --- a/emin	Tue Feb 10 13:41:49 2009 +0000
     1.2 +++ b/emin	Tue Feb 10 13:45:48 2009 +0000
     1.3 @@ -217,7 +217,7 @@
     1.4          newpicname = picname + ".png"
     1.5          newpicpath = picpath + ".png"
     1.6          picversions["PNG"] = newpicname
     1.7 -        convcmd = ["convert", "-density", "200", picpath, newpicpath]
     1.8 +        convcmd = ["convert", "-density", "200", "-resize", "800x700", picpath, newpicpath]
     1.9          picname = newpicname
    1.10          picpath = newpicpath
    1.11      else:

mercurial