11# Pylottie
22
3- [ Pylottie Index] ( ../README.md#pylottie-index ) /
4- Pylottie
3+ [ Pylottie Index] ( ../README.md#pylottie-index ) / Pylottie
54
65> Auto-generated documentation for [ pylottie] ( ../../../pylottie/__init__.py ) module.
76
@@ -24,189 +23,188 @@ Convert to gif and webp
2423
2524#### Arguments
2625
27- - ` fileName ` * str* - file path of the lottie file
28- - ` newFileName ` * str* - name of the file to write (omit file ext)
29- - ` quality ` * int, optional* - Quality of the returned sequence. Defaults to 1.
26+ ----
27+ - ` fileName ` * str* - file path of the lottie file
28+ - ` newFileName ` * str* - name of the file to write (omit file ext)
29+ - ` quality ` * int, optional* - Quality of the returned sequence. Defaults to 1.
3030
3131#### Signature
3232
3333``` python
34- def convertLottie2ALL (fileName : str , newFileName : str , quality : int = 1 ):
35- ...
34+ def convertLottie2ALL (fileName : str , newFileName : str , quality : int = 1 ): ...
3635```
3736
3837
3938
4039## convertLottie2GIF
4140
42- [ Show source in __ init__ .py:30 ] ( ../../../pylottie/__init__.py#L30 )
41+ [ Show source in __ init__ .py:32 ] ( ../../../pylottie/__init__.py#L32 )
4342
4443Convert to gif
4544
4645#### Arguments
4746
48- - ` fileName ` * str* - file path of the lottie file
49- - ` newFileName ` * str* - name of the file to write
50- - ` quality ` * int, optional* - Quality of the returned sequence. Defaults to 1.
47+ ----
48+ - ` fileName ` * str* - file path of the lottie file
49+ - ` newFileName ` * str* - name of the file to write
50+ - ` quality ` * int, optional* - Quality of the returned sequence. Defaults to 1.
5151
5252#### Signature
5353
5454``` python
55- def convertLottie2GIF (fileName : str , newFileName : str , quality : int = 1 ):
56- ...
55+ def convertLottie2GIF (fileName : str , newFileName : str , quality : int = 1 ): ...
5756```
5857
5958
6059
6160## convertLottie2Webp
6261
63- [ Show source in __ init__ .py:41 ] ( ../../../pylottie/__init__.py#L41 )
62+ [ Show source in __ init__ .py:45 ] ( ../../../pylottie/__init__.py#L45 )
6463
6564Convert to webp
6665
6766#### Arguments
6867
69- - ` fileName ` * str* - file path of the lottie file
70- - ` newFileName ` * str* - name of the file to write
71- - ` quality ` * int, optional* - Quality of the returned sequence. Defaults to 1.
68+ ----
69+ - ` fileName ` * str* - file path of the lottie file
70+ - ` newFileName ` * str* - name of the file to write
71+ - ` quality ` * int, optional* - Quality of the returned sequence. Defaults to 1.
7272
7373#### Signature
7474
7575``` python
76- def convertLottie2Webp (fileName : str , newFileName : str , quality : int = 1 ):
77- ...
76+ def convertLottie2Webp (fileName : str , newFileName : str , quality : int = 1 ): ...
7877```
7978
8079
8180
8281## convertLotties2PIL
8382
84- [ Show source in __ init__ .py:137 ] ( ../../../pylottie/__init__.py#L137 )
83+ [ Show source in __ init__ .py:149 ] ( ../../../pylottie/__init__.py#L149 )
8584
8685Convert list of lottie files to a list of images with a duration.
8786
8887#### Arguments
8988
90- - ` fileNames ` * list[ str] * - list of file paths of the lottie files
91- - ` quality ` * int, optional* - Quality of the returned sequence. Defaults to 1.
89+ ----
90+ - ` fileNames ` * list[ str] * - list of file paths of the lottie files
91+ - ` quality ` * int, optional* - Quality of the returned sequence. Defaults to 1.
9292
9393#### Returns
9494
95- - ` list[tuple[list[Image], ` * float]] * - pil images to write to gif/ webp and duration
95+ -------
96+ - ` list[tuple[list[Image], ` * float]] * - pil images to write to gif/ webp and duration
9697
9798#### Signature
9899
99100``` python
100101def convertLotties2PIL (
101102 fileNames : list[str ], quality : int = 1
102- ) -> list[tuple[list[Image.Image], float ]]:
103- ...
103+ ) -> list[tuple[list[Image.Image], float ]]: ...
104104```
105105
106106
107107
108108## convertMultLottie2ALL
109109
110- [ Show source in __ init__ .py:52 ] ( ../../../pylottie/__init__.py#L52 )
110+ [ Show source in __ init__ .py:58 ] ( ../../../pylottie/__init__.py#L58 )
111111
112112Convert to gif and webp
113113
114114#### Arguments
115115
116- - ` fileNames ` * list[ str] * - list of file path to the lottie files
117- - ` newFileNames ` * list[ str] * - name of the files to write (omit file ext)
118- - ` quality ` * int, optional* - Quality of the returned sequence. Defaults to 1.
116+ ----
117+ - ` fileNames ` * list[ str] * - list of file path to the lottie files
118+ - ` newFileNames ` * list[ str] * - name of the files to write (omit file ext)
119+ - ` quality ` * int, optional* - Quality of the returned sequence. Defaults to 1.
119120
120121#### Signature
121122
122123``` python
123124def convertMultLottie2ALL (
124125 fileNames : list[str ], newFileNames : list[str ], quality : int = 1
125- ):
126- ...
126+ ): ...
127127```
128128
129129
130130
131131## convertMultLottie2GIF
132132
133- [ Show source in __ init__ .py:84 ] ( ../../../pylottie/__init__.py#L84 )
133+ [ Show source in __ init__ .py:92 ] ( ../../../pylottie/__init__.py#L92 )
134134
135135Convert to gif
136136
137137#### Arguments
138138
139- - ` fileNames ` * list[ str] * - list of file path to the lottie files
140- - ` newFileNames ` * list[ str] * - name of the files to write
141- - ` quality ` * int, optional* - Quality of the returned sequence. Defaults to 1.
139+ ----
140+ - ` fileNames ` * list[ str] * - list of file path to the lottie files
141+ - ` newFileNames ` * list[ str] * - name of the files to write
142+ - ` quality ` * int, optional* - Quality of the returned sequence. Defaults to 1.
142143
143144#### Signature
144145
145146``` python
146147def convertMultLottie2GIF (
147148 fileNames : list[str ], newFileNames : list[str ], quality : int = 1
148- ):
149- ...
149+ ): ...
150150```
151151
152152
153153
154154## convertMultLottie2Webp
155155
156- [ Show source in __ init__ .py:108 ] ( ../../../pylottie/__init__.py#L108 )
156+ [ Show source in __ init__ .py:118 ] ( ../../../pylottie/__init__.py#L118 )
157157
158158Convert to webp
159159
160160#### Arguments
161161
162- - ` fileNames ` * list[ str] * - list of file path to the lottie files
163- - ` newFileNames ` * list[ str] * - name of the files to write
164- - ` quality ` * int, optional* - Quality of the returned sequence. Defaults to 1.
162+ ----
163+ - ` fileNames ` * list[ str] * - list of file path to the lottie files
164+ - ` newFileNames ` * list[ str] * - name of the files to write
165+ - ` quality ` * int, optional* - Quality of the returned sequence. Defaults to 1.
165166
166167#### Signature
167168
168169``` python
169170def convertMultLottie2Webp (
170171 fileNames : list[str ], newFileNames : list[str ], quality : int = 1
171- ):
172- ...
172+ ): ...
173173```
174174
175175
176176
177177## recordLotties
178178
179- [ Show source in __ init__ .py:177 ] ( ../../../pylottie/__init__.py#L177 )
179+ [ Show source in __ init__ .py:192 ] ( ../../../pylottie/__init__.py#L192 )
180180
181181Record the lottie data to a set of images
182182
183183#### Arguments
184184
185- - ` lottieData ` * str* - lottie data as string
186- - ` quality ` * int, optional* - Quality of the returned sequence.
185+ ----
186+ - ` lottieData ` * str* - lottie data as string
187+ - ` quality ` * int, optional* - Quality of the returned sequence.
187188
188189#### Returns
189190
190- - ` list[list[int]] ` - duration and number of frames
191+ -------
192+ - ` list[list[int]] ` - duration and number of frames
191193
192194#### Signature
193195
194196``` python
195- def recordLotties (lottieData : list[str ], quality : int ) -> list[list[int ]]:
196- ...
197+ def recordLotties (lottieData : list[str ], quality : int ) -> list[list[int ]]: ...
197198```
198199
199200
200201
201202## recordSingleLottie
202203
203- [ Show source in __ init__ .py:206 ] ( ../../../pylottie/__init__.py#L206 )
204+ [ Show source in __ init__ .py:224 ] ( ../../../pylottie/__init__.py#L224 )
204205
205206#### Signature
206207
207208``` python
208- def recordSingleLottie (browser , lottieDataInstance , quality , index ) -> list[int ]:
209- ...
210- ```
211-
212-
209+ def recordSingleLottie (browser , lottieDataInstance , quality , index ) -> list[int ]: ...
210+ ```
0 commit comments