_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

Functions | Variables
update-images Namespace Reference

Functions

def convert (im)
 
def mustrebuild (srcfile, dstfile)
 

Variables

string toolpath = os.path.dirname(sys.argv[0]) + '/'
 
 filelist = os.listdir('.')
 
 ext = infile[-8:]
 
string outfile = infile[:-8] + '.png'
 
 im = Image.open(infile)
 
 w
 
 h
 

Function Documentation

◆ convert()

def update-images.convert (   im)

◆ mustrebuild()

def update-images.mustrebuild (   srcfile,
  dstfile 
)

Variable Documentation

◆ ext

update-images.ext = infile[-8:]

◆ filelist

update-images.filelist = os.listdir('.')

◆ h

update-images.h

◆ im

def update-images.im = Image.open(infile)

◆ outfile

string update-images.outfile = infile[:-8] + '.png'

◆ toolpath

string update-images.toolpath = os.path.dirname(sys.argv[0]) + '/'

◆ w

update-images.w
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.