#NEWLINE# def __init__( self , id , path , collada = None , xmlnode = None ) : #NEWLINE# #INDENT# 'Create an image object.\n\n        :param str id:\n          A unique string identifier for the image\n        :param str path:\n          Path relative to the collada document where the image is located\n        :param collada.Collada collada:\n          The collada object this image belongs to\n        :param xmlnode:\n          If loaded from xml, the node this data comes from\n\n        ' #NEWLINE# self . id = self #NEWLINE# 'The unique string identifier for the image' #NEWLINE# self . path = path #NEWLINE# 'Path relative to the collada document where the image is located' #NEWLINE# self . collada = collada #NEWLINE# self . _data = None #NEWLINE# self . _pilimage = None #NEWLINE# self . _uintarray = None #NEWLINE# self . _floatarray = None #NEWLINE# if ( xmlnode != None ) : #NEWLINE# #INDENT# self . xmlnode = xmlnode #NEWLINE# 'ElementTree representation of the image.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . xmlnode = E . image ( E . init_from ( path ) , id = self . id , name = self . id )