Ejemplo n.º 1
0
 def _exportTIF(self, filePath):
     activeDocument = self.psApp.Application.ActiveDocument
     saveOPT = Dispatch("Photoshop.TiffSaveOptions")
     saveOPT.AlphaChannels = True
     saveOPT.EmbedColorProfile = True
     saveOPT.Layers = False
     activeDocument.SaveAs(filePath, saveOPT, True)
     return True
Ejemplo n.º 2
0
 def _exportTGA(self, filePath):
     activeDocument = self.psApp.Application.ActiveDocument
     saveOPT = Dispatch("Photoshop.TargaSaveOptions")
     saveOPT.Resolution = 32
     saveOPT.AlphaChannels = True
     saveOPT.RLECompression = True
     activeDocument.SaveAs(filePath, saveOPT, True)
     return True
Ejemplo n.º 3
0
 def _exportPSD(self, filePath):
     activeDocument = self.psApp.Application.ActiveDocument
     saveOPT = Dispatch("Photoshop.PhotoshopSaveOptions")
     saveOPT.AlphaChannels = True
     saveOPT.Annotations = True
     saveOPT.Layers = True
     saveOPT.SpotColors = True
     activeDocument.SaveAs(filePath, saveOPT, True)
     return True