Skip to content

eps

EPSSaveOptions

Bases: Photoshop

Options for saving a document in EPS format.

using the Document.saveAs()

Source code in photoshop/api/save_options/eps.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
class EPSSaveOptions(Photoshop):
    """Options for saving a document in EPS format.

    using the `Document.saveAs()`

    """

    object_name = "EPSSaveOptions"

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

    @property
    def embedColorProfile(self) -> bool:
        """True to embed the color profile in this document."""
        return self.app.embedColorProfile

    @embedColorProfile.setter
    def embedColorProfile(self, boolean: bool):
        """True to embed the color profile in this document."""
        self.app.embedColorProfile = boolean

    @property
    def encoding(self):
        return self.app.encoding

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

    @property
    def halftoneScreen(self):
        return self.app.halftoneScreen

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

    @property
    def interpolation(self):
        return self.app.interpolation

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

    @property
    def preview(self):
        return self.app.preview

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

    @property
    def psColorManagement(self):
        return self.app.psColorManagement

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

    @property
    def transferFunction(self):
        return self.app.transferFunction

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

    @property
    def transparentWhites(self) -> bool:
        """True to display white areas as transparent"""
        return self.app.transparentWhites

    @transparentWhites.setter
    def transparentWhites(self, value: bool):
        """True to display white areas as transparent"""
        self.app.transparentWhites = value

    @property
    def vectorData(self):
        """True to include vector data."""
        return self.app.vectorData

    @vectorData.setter
    def vectorData(self, value: bool):
        """True to include vector data.

        Valid only if the document includes vector data (text).

        """
        self.app.vectorData = value

embedColorProfile: bool property writable

True to embed the color profile in this document.

transparentWhites: bool property writable

True to display white areas as transparent

vectorData property writable

True to include vector data.


Last update: 2024-11-17
Created: 2024-11-17