Skip to content

gif

GIFSaveOptions

Bases: Photoshop

Options for saving a document in GIF format.

Source code in photoshop/api/save_options/gif.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
class GIFSaveOptions(Photoshop):
    """Options for saving a document in GIF format."""

    object_name = "GIFSaveOptions"

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

    @property
    def colors(self):
        return self.app.color

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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