Skip to content

psd

PhotoshopSaveOptions

Bases: Photoshop

Options for saving a Photoshop document.

Source code in photoshop/api/save_options/psd.py
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
class PhotoshopSaveOptions(Photoshop):
    """Options for saving a Photoshop document."""

    object_name = "PhotoshopSaveOptions"

    def __int__(self):
        super().__init__()

    @property
    def alphaChannels(self):
        """If true, the alpha channels are saved."""
        return self.app.alphaChannels()

    @alphaChannels.setter
    def alphaChannels(self, value):
        self.app.alphaChannels = value

    @property
    def annotations(self):
        """If true, the annotations are saved."""
        return self.app.annotations()

    @annotations.setter
    def annotations(self, value):
        self.app.annotations = value

    @property
    def embedColorProfile(self):
        """If true, the color profile is embedded in the document."""
        return self.app.embedColorProfile()

    @embedColorProfile.setter
    def embedColorProfile(self, value):
        self.app.embedColorProfile = value

    @property
    def layers(self):
        """If true, the layers are saved."""
        return self.app.layers()

    @layers.setter
    def layers(self, value):
        self.app.layers = value

    @property
    def spotColors(self):
        """If true, spot colors are saved."""
        return self.app.spotColors()

    @spotColors.setter
    def spotColors(self, value):
        self.app.spotColors = value

alphaChannels property writable

If true, the alpha channels are saved.

annotations property writable

If true, the annotations are saved.

embedColorProfile property writable

If true, the color profile is embedded in the document.

layers property writable

If true, the layers are saved.

spotColors property writable

If true, spot colors are saved.


Last update: 2024-03-05
Created: 2024-03-05