patch de Guill ajoutant une vue en vignettes

This commit is contained in:
nojhan 2008-05-12 18:58:31 +00:00
commit bd9eb1f070
8 changed files with 214 additions and 0 deletions

View file

@ -252,6 +252,19 @@ class Stripit:
if self.verbose:
print '\tok'
# generation de la miniature pour la galerie
if self.verbose:
print '\tCreating the thumbnail PNG from the SVG...',
sys.stdout.flush()
cmd = 'inkscape -z --export-width=345 --export-png %s.thumb.png %s.svg ' % (file_we,file_we)
cmd += options
os.popen( cmd )
if self.verbose:
print '\tok'
def xfind( self, tree, ns ):
# on ne veut passer qu'un liste d'élements