fromProducts.ERP5.Document.ImageimportImagefromzLOGimportLOG,INFO,ERROR,WARNINGclassTileImage(Image):""" Tile Images split images in many small parts and then store informations as sub objects """def_setFile(self,*args,**kw):"""Set the file content and reset image information."""if"TileGroup0"inself.objectIds():self.manage_delObjects("TileGroup0")if"ImageProperties.xml"inself.objectIds():self.manage_delObjects("ImageProperties.xml")self._update_image_info()