1
2
3
4
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
Ë
³òúhøRã
ór
—UddlmZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
ddl Z ddl Z ddl Z ddlmZddlmZddlmZmZmZddlmZmZmZmZmZmZddlmZmZm Z dd    l!m"Z"dd
l#m$Z$m%Z%d e&d <    dd l'm(Z(dZ*e*rddlm+Z+m,Z,m-Z-ddl.m/Z/ddlm0Z0m1Z1ejde3«Z4Gd„de5«Z6Gd„de7«Z8dZ9de&d<e:d«Z;de&d<    ddlm<Z=ee>e=dd«k7rde>e=dd«›de›Z?e)e?«‚    Gd"„d#e«ZDGd$„d%e«ZEGd&„d'e«ZFeFjŽd(eFjd)eFj’d)eFj”d*eFj–d+iZLGd,„d-e«ZMGd.„d/e«ZNGd0„d1e«ZOe j e3ZQeDeEeFeMeNeOfD]'ZeD] ZReSeQeRj¨eRjª«Œ"Œ)eVe=d2«r<e=j®ZWe=j°ZXe=j²ZYe=j´ZZe=j¶Z[dZ*e*r(ddl\Z\dd3l]m^Z^dd4l_m`Z`dd5lmaZambZbmcZcmdZdmeZedd6lfmgZgmhZhmiZigZjd7e&d8<iZkd9e&d:<iZld;e&d<<iZmd=e&d><iZnd=e&d?<iZod;e&d@<iZpdAe&dB<iZqdCe&dD<e jädEk(rdFndGZsd±dI„ZtgdJ¢ZudKZvd²dL„Zwd²dM„Zxd³dN„Zyd´dO„Zzda{dµdP„Z|d¶dQ„Z}    d·                                    d¸dR„Z~    d·                                    d¹dS„ZGdT„dU«Z€                dºdV„ZGdW„dXe«Z‚GdY„dH«ZƒGdZ„d[ej«Z…Gd\„d]ej«Z†d»d^„Z‡    d¼                            d½d_„Zˆ    d¾                                            d¿d`„Z‰    d¾                                            dÀda„ZŠGdb„dce«Z‹Gdd„dee«ZŒdÁdÂdf„Z                                dÃdg„ZŽdÄdh„ZdÅdi„Zidjdkdlgf“dmdndndogf“dpdqdrgf“dsdqdtgf“dudqdvgf“dwdqdxgf“dydqdzgf“d{dqd|gf“d}dqd~gf“ddqd€gf“ddqd‚gf“dƒd„d…gf“d†d„d‡gf“dˆd„d‰gf“dŠd„d‹gf“dŒdddŽdgf“dd‘d‘gd’¢f“d“d”d”gd•¢fd–es›d—fdqdqgfd–es›d˜fd„d„gfi¥Z‘dÆd™„Z’        dÇ                            dÈdš„Z“dÉd›„Z”dÊdœ„Z•dËd„Z–dÌdž„Z—dÍdŸ„Z˜    dÁ                            dÎd „Z™dÏd¡„Zš                        dÐd¢„Z›                        dÐd£„ZœdÑd¤„ZdÒd¥„ZždÓd¦„ZŸdÔd§„Z dÕd¨„Z¡dÖd©„Z¢                                d×dª„Z£dØd«„Z¤dÙd¬„Z¥dÙd­„Z¦dÁdÚd®„Z§e§«ejPe=jR«e*ree:e0fZªneZªGd¯„d°eª«Z«y#e)$rdZ(YŒJwxYw#e)$raZ@eAe@«j…d«re j†d e5«‚eAe@«j…d!«re j†eAe@«e5«‚dZ@[@wwxYw)Ûé)Ú annotationsN)ÚMutableMapping)ÚIntEnum)ÚIOÚProtocolÚcasté)ÚExifTagsÚ    ImageModeÚTiffTagsÚUnidentifiedImageErrorÚ __version__Ú_plugins)Úi32leÚo32beÚo32le)Ú    deprecate)Ú DeferredErrorÚis_pathzModuleType | NoneÚ ElementTree)rF)ÚCallableÚIteratorÚSequence)Ú
ModuleType)ÚAnyÚLiteralcó —eZdZy)ÚDecompressionBombWarningN©Ú__name__Ú
__module__Ú __qualname__©óú<H:\Change_password\venv_build\Lib\site-packages\PIL/Image.pyrrKó„Ør$rcó —eZdZy)ÚDecompressionBombErrorNrr#r$r%r(r(Or&r$r(ÚboolÚWARN_POSSIBLE_FORMATSiUUUú
int | NoneÚMAX_IMAGE_PIXELS)Ú_imagingÚPILLOW_VERSIONzUThe _imaging extension was built for another version of Pillow or PIL:
Core version: z
Pillow version: zModule use of pythonz?The _imaging extension was built for another version of Python.zThe _imaging extensioncó(—eZdZdZdZdZdZdZdZdZ    y)    Ú    Transposerr    éééééN)
r r!r"ÚFLIP_LEFT_RIGHTÚFLIP_TOP_BOTTOMÚ    ROTATE_90Ú
ROTATE_180Ú
ROTATE_270Ú    TRANSPOSEÚ
TRANSVERSEr#r$r%r0r0s%„Ø€OØ€OØ€IØ€JØ€JØ€I؁Jr$r0có —eZdZdZdZdZdZdZy)Ú    Transformrr    r1r2r3N)r r!r"ÚAFFINEÚEXTENTÚ PERSPECTIVEÚQUADÚMESHr#r$r%r>r>Šs„Ø €FØ €FØ€KØ €DØ Dr$r>có$—eZdZdZdZdZdZdZdZy)Ú
Resamplingrr3r1r4r2r    N)    r r!r"ÚNEARESTÚBOXÚBILINEARÚHAMMINGÚBICUBICÚLANCZOSr#r$r%rErE“s „Ø€GØ
€CØ€HØ€GØ€G؁Gr$rEçà?çð?ç@g@có—eZdZdZdZdZdZy)ÚDitherrr    r1r2N)r r!r"ÚNONEÚORDEREDÚ    RASTERIZEÚFLOYDSTEINBERGr#r$r%rPrP¦s„Ø €DØ€GØ€I؁Nr$rPcó—eZdZdZdZy)ÚPaletterr    N)r r!r"ÚWEBÚADAPTIVEr#r$r%rVrV®s „Ø
€C؁Hr$rVcó—eZdZdZdZdZdZy)ÚQuantizerr    r1r2N)r r!r"Ú    MEDIANCUTÚ MAXCOVERAGEÚ
FASTOCTREEÚ LIBIMAGEQUANTr#r$r%rZrZ³s„Ø€IØ€KØ€J؁Mr$rZÚDEFAULT_STRATEGY)ÚElement)Ú PrettyPrinter)Ú    ImageFileÚ ImageFilterÚ ImagePaletteÚImageQtÚTiffImagePlugin)Ú CapsuleTypeÚ
NumpyArrayÚStrOrBytesPathú    list[str]ÚIDzodict[str, tuple[Callable[[IO[bytes], str | bytes], ImageFile.ImageFile], Callable[[bytes], bool | str] | None]]ÚOPENúdict[str, str]ÚMIMEz:dict[str, Callable[[Image, IO[bytes], str | bytes], None]]ÚSAVEÚSAVE_ALLÚ    EXTENSIONz$dict[str, type[ImageFile.PyDecoder]]ÚDECODERSz$dict[str, type[ImageFile.PyEncoder]]ÚENCODERSÚlittleú<ú>ÚImagecó̗tj|j«}|j|jf}t |j «}|dk7r||fz }||jfS©Nr    )r ÚgetmodeÚmodeÚheightÚwidthÚlenÚbandsÚtypestr)ÚimÚmÚshapeÚextras    r%Ú_conv_type_shaper…ésW€Ü×ј"Ÿ'™'Ó"€AØ Ÿi™i¨¯©Ð2€EÜ —‘‹L€EØ ‚zØ %ÑˆØ !—)‘)Ð Ðr$)Ú1ÚCMYKÚFÚHSVÚIúI;16úI;16BúI;16LzI;16NÚLÚLAÚLaÚLABÚPÚPAÚRGBÚRGBAÚRGBaÚRGBXÚYCbCr)rŽr’r—r•r‡r‹rrŒcó@—tj|«jS)a%
    Gets the "base" mode for given mode.  This function returns "L" for
    images that contain grayscale data, and "RGB" for images that
    contain color data.
 
    :param mode: Input mode.
    :returns: "L" or "RGB".
    :exception KeyError: If the input mode was not a standard mode.
    )r rzÚbasemode©r{s r%Ú getmodebaserœs€ô × Ñ ˜TÓ "× +Ñ +Ð+r$có@—tj|«jS)a 
    Gets the storage type mode.  Given a mode, this function returns a
    single-layer mode suitable for storing individual bands.
 
    :param mode: Input mode.
    :returns: "L", "I", or "F".
    :exception KeyError: If the input mode was not a standard mode.
    )r rzÚbasetyper›s r%Ú getmodetyperŸs€ô × Ñ ˜TÓ "× +Ñ +Ð+r$có@—tj|«jS)a×
    Gets a list of individual band names.  Given a mode, this function returns
    a tuple containing the names of individual bands (use
    :py:method:`~PIL.Image.getmodetype` to get the mode used to store each
    individual band.
 
    :param mode: Input mode.
    :returns: A tuple containing band names.  The length of the tuple
        gives the number of bands in an image of the given mode.
    :exception KeyError: If the input mode was not a standard mode.
    )r rzrr›s r%Úgetmodebandnamesr¡'s€ô × Ñ ˜TÓ "× (Ñ (Ð(r$cóR—ttj|«j«S)zÎ
    Gets the number of individual bands for this mode.
 
    :param mode: Input mode.
    :returns: The number of bands in this mode.
    :exception KeyError: If the input mode was not a standard mode.
    )r~r rzrr›s r%Ú getmodebandsr£6s €ô Œy× Ñ  Ó&×,Ñ,Ó -Ð-r$có.—tdk\ry    ddlm}|sJ‚        ddlm}|sJ‚        ddlm}|sJ‚        ddlm}|sJ‚        ddlm}|sJ‚    day#t$rYŒ>wxYw#t$rYŒAwxYw#t$rYŒDwxYw#t$rYŒGwxYw#t$rYdaywxYw)z|
    Explicitly loads BMP, GIF, JPEG, PPM and PPM file format drivers.
 
    It is called when opening or saving images.
    r    N)ÚBmpImagePlugin)ÚGifImagePlugin)ÚJpegImagePlugin)ÚPpmImagePlugin)ÚPngImagePlugin)Ú _initializedÚr¥Ú ImportErrorr¦r§r¨r©)r¥r¦r§r¨r©s     r%Úpreinitr­GsˀôqÒØð Ý$áЉ~ð Ý$áЉ~ð Ý%áЉð Ý$áЉ~ð Ý$áЉ~ðLøô7 ò Ù ð ûô ò Ù ð ûô ò Ù ð ûô ò Ù ð ûô ò Ø àLð úsUŒ
A
˜
A¤
A(°
A7¼
BÁ
    AÁAÁ    A%Á$A%Á(    A4Á3A4Á7    BÂB    BÂBcóJ—tdk\rytjd«d}tD]<}    tj d|«t |›d|›t«t«g«Œ>tstrdayy#t$r!}tj d||«Yd}~Œtd}~wwxYw)    zþ
    Explicitly initializes the Python Imaging Library. This function
    loads all available file format drivers.
 
    It is called when opening or saving images if :py:meth:`~preinit()` is
    insufficient, and by :py:meth:`~PIL.features.pilinfo`.
    r1Fú.rz Importing %szImage: failed to import %s: %sNT) rªr Ú
rpartitionrÚloggerÚdebugÚ
__import__ÚglobalsÚlocalsr¬rlro)Ú parent_nameÚpluginÚes   r%Úinitr¹ts €ôqÒØä×%Ñ% cÓ*¨1Ñ-€KÜòFˆð    FÜ L‰L˜¨Ô 0Ü ˜+˜ a¨ xÐ0´'³)¼V»XÀrÕ JðFõ t؈ ØØ øô ò    FÜ L‰LÐ9¸6À1× EÑ Eûð    Fús­9A8Á8    B"ÂBÂB"có—|€d}nt|t«s|f}    t|}||g||z¢­ŽS#t$rYnwxYw    t    t
|›d«}n##t $r}d|›d}t|«|‚d}~wwxYw||g||z¢­ŽS)Nr#Ú_decoderzdecoder ú not available)Ú
isinstanceÚtuplerrÚKeyErrorÚgetattrÚcoreÚAttributeErrorÚOSError)r{Ú decoder_nameÚargsr„Údecoderr¸Úmsgs       r%Ú _getdecoderrȓó°€ð €|Ø‰Ü ˜œeÔ $؈wˆð,ܘ<Ñ(ˆñtÐ+˜d U™lÒ+Ð+øô ò Ù ð úð
"äœ$ < .°Р9Ó:‰øÜ ò"ؘ˜ nÐ5ˆÜc‹l Ð!ûð"úñ 4Ð '˜$ ™,Ò 'Ð'ó#š    /¯    ;º;¿AÁ    A3ÁA.Á.A3có—|€d}nt|t«s|f}    t|}||g||z¢­ŽS#t$rYnwxYw    t    t
|›d«}n##t $r}d|›d}t|«|‚d}~wwxYw||g||z¢­ŽS)Nr#Ú_encoderzencoder r¼)r½r¾rsr¿rÀrÁrÂrÃ)r{Ú encoder_namerÅr„Úencoderr¸rÇs       r%Ú _getencoderrϬrÉrÊcóP—eZdZdZd
d„Zd d„Zd d„ZeZd d„Zd d„Z    d d„Z
e
Z d d„Z y    ) ÚImagePointTransformzÙ
    Used with :py:meth:`~PIL.Image.Image.point` for single band images with more than
    8 bits, this represents an affine transformation, where the value is multiplied by
    ``scale`` and ``offset`` is added.
    có —||_||_y©N)ÚscaleÚoffset)ÚselfrÔrÕs   r%Ú__init__zImagePointTransform.__init__Ðs€ØˆŒ
؈ r$cóF—t|j |j «SrÓ)rÑrÔrÕ©rÖs r%Ú__neg__zImagePointTransform.__neg__Ôs€Ü" D§J¡J ;°·±° Ó=Ð=r$cóܗt|t«r:t|j|jz|j|jz«St|j|j|z«SrÓ)r½rÑrÔrÕ©rÖÚothers  r%Ú__add__zImagePointTransform.__add__×sU€Ü eÔ0Ô 1Ü&Ø—
‘
˜UŸ[™[Ñ(¨$¯+©+¸¿ ¹ Ñ*Dóð ô# 4§:¡:¨t¯{©{¸UÑ/BÓCÐCr$có—|| zSrÓr#rÜs  r%Ú__sub__zImagePointTransform.__sub__às€Øuf‰}Ðr$có—|| zSrÓr#rÜs  r%Ú__rsub__zImagePointTransform.__rsub__ãs€Ø˜u‰}Ðr$cóz—t|t«rtSt|j|z|j|z«SrÓ©r½rÑÚNotImplementedrÔrÕrÜs  r%Ú__mul__zImagePointTransform.__mul__æó2€Ü eÔ0Ô 1Ü!Ð !Ü" 4§:¡:°Ñ#5°t·{±{ÀUÑ7JÓKÐKr$cóz—t|t«rtSt|j|z |j|z «SrÓrärÜs  r%Ú __truediv__zImagePointTransform.__truediv__írçr$N)rÔÚfloatrÕrêÚreturnÚNone)rërÑ)rÝzImagePointTransform | floatrërÑ) r r!r"Ú__doc__r×rÚrÞÚ__radd__ràrâræÚ__rmul__rér#r$r%rÑrÑÉs;„ñó ó>óDð€HóóóLð
€HôLr$rÑcó~—|tdd««}t|t«r|j|jfSd|fS©Nr    r)rÑr½rÔrÕ)ÚexprÚas  r%Ú_getscaleoffsetrôós<€ñ     Ô    AÓ &Ó'€AÜ",¨QÔ0CÔ"DˆAG‰GQ—X‘XÐ ÐPÈ1ÈaÈ&ÐPr$có—eZdZ        dd„Zy)ÚSupportsGetDatacó—yrÓr#rÙs r%ÚgetdatazSupportsGetData.getdataÿs€à*-r$N)rëztuple[Transform, Sequence[int]])r r!r"rør#r$r%röröþs„ð.à    (ô.r$röcóÈ—eZdZUdZdZded<dZded<dZd_d„Ze    d`d„«Z
e
jdad    „«Z
e    dbd
„«Z e    dbd „«Z e    dcd „«Ze    ddd „«Ze    dbd„«Zejded„«Zdfd„Zd„Zd„Zd_d„Zd_d„Zd_d„Z    dg                            dhd„Zdid„Zddd„Zdjd„Zdkd„Zdld„Zdld„Ze    dmd„«Zdnd„Z    do            dpd„Z dqd „Z!drd!„Z"dsdtd"„Z#dudvd#„Z$    ds                            dwd$„Z%dxd%„Z&d_d&„Z'ddde(jRd'f                                            dyd(„Z*d'dd)de+jXf                                            dzd*„Z-d{d+„Z.e.Z/dod|d,„Z0                        d}d-„Z1                        d~d.„Z2dd/„Z3d€d0„Z4dd1œdd2„Z5    d‚            dƒd3„Z6dod„d4„Z7d…d5„Z8d†d6„Z9d‡d7„Z:d_d8„Z;dˆd9„Z<d‰d:„Z=dŠd‹d;„Z>e    dŒd<„«Z?d_d=„Z@                dd>„ZAdŽd?„ZB    dg                    dd@„ZC    dg                    ddA„ZD        dg                            d‘dB„ZE    d’                            d“dC„ZF    do                    d”dD„ZGd•dE„ZH        d–                            d—dF„ZI    dŠ                    d˜dG„ZJ                        d™dH„ZK    do                    dšdI„ZL                                d›dJ„ZM            dœ                                    ddK„ZN    do                    dždL„ZOePj¢dMdddf                                                    dŸdN„ZR    do                            d dO„ZSd¡dP„ZTd¢dQ„ZUdod£dR„ZVd¤dS„ZWd¥dT„ZXdbdU„ZYePj´dVf                            d¦dW„Z[dePj¢dXdf                                                    d§dY„Z\ePj¢df                                                    d¨dZ„Z]d©d[„Z^dªd\„Z_d«d]„Z`d¬d^„Zay)­rwaD
    This class represents an image object.  To create
    :py:class:`~PIL.Image.Image` objects, use the appropriate factory
    functions.  There's hardly ever any reason to call the Image constructor
    directly.
 
    * :py:func:`~PIL.Image.open`
    * :py:func:`~PIL.Image.new`
    * :py:func:`~PIL.Image.frombytes`
    Nú
str | NoneÚformatÚformat_descriptionTcóf—d|_d|_d|_d|_i|_d|_d|_y)Nr«©rrr)Ú_imÚ_modeÚ_sizeÚpaletteÚinfoÚreadonlyÚ_exifrÙs r%r×zImage.__init__s3€à<@ˆŒØˆŒ
؈Œ
Ø9=ˆŒ Ø68ˆŒ    ØˆŒ Ø"&ˆ
r$có–—t|jt«r|jj‚|j€J‚|jSrÓ)r½rÿrÚexrÙs r%rzImage.ims7€ä d—h‘h¤ Ô .Ø—(‘(—+‘+Р؏x‰xÐ#Ð#Ð#؏x‰xˆr$có—||_yrÓ)rÿ©rÖrs  r%rzImage.im%s    €àˆr$có —|jdS©Nr©ÚsizerÙs r%r}z Image.width)ó€ày‰y˜‰|Ðr$có —|jdSryr rÙs r%r|z Image.height-rr$có—|jSrÓ)rrÙs r%r z
Image.size1ó €àz‰zÐr$có—|jSrÓ)rrÙs r%r{z
Image.mode5rr$cóf—|jxr|jjxs |jSrÓ)rÿrÚ    _readonlyrÙs r%rzImage.readonly9s$€à—‘Ò.˜TŸX™X×.Ñ.ÒA°4·>±>ÐAr$có—||_yrÓ)r)rÖrs  r%rzImage.readonly=s    €à!ˆr$cóV—t«}||_|j|_|j|_|jdvrH|j r |j j«|_nddlm    }|j«|_|jj«|_
|S)N©r’r“r    ©rd) rwrr{rr rrÚcopyr«rdr)rÖrÚnewrds    r%Ú_newz
Image._newAsy€Ü‹gˆØˆŒØ—G‘GˆŒ    Ø—G‘GˆŒ    Ø 7‰7kÑ !؏|Š|Ø"Ÿl™l×/Ñ/Ó1• å*à7˜l×7Ñ7Ó9” Ø—9‘9—>‘>Ó#ˆŒØˆ
r$có—|SrÓr#rÙs r%Ú    __enter__zImage.__enter__Qs€Øˆ r$có†—ddlm}t||j«r%t|dd«r|j    «d|_yy)Nr    ©rbÚ _exclusive_fpF)r«rbr½rÀÚ    _close_fpÚfp)rÖrÅrbs   r%Ú__exit__zImage.__exit__Ts7€Ýä d˜I×/Ñ/Ô 0ܐt˜_¨eÔ4Ø—‘Ԡ؈DGð 1r$cóؗt|dd«rDtjdk(r*ttd«r|jj «d|_t td««|_y)av
        This operation will destroy the image core and release its memory.
        The image data will be unusable afterward.
 
        This function is required to close images that have multiple frames or
        have not had their file read and closed by the
        :py:meth:`~PIL.Image.Image.load` method. See :ref:`file-handling` for
        more information.
        ÚmapNÚwin32Úpypy_version_infozOperation on closed image)    rÀÚsysÚplatformÚhasattrr%ÚcloserÚ
ValueErrorrÿrÙs r%r+z Image.close\sO€ô 4˜ Ô %܏|‰|˜wÒ&¬7´3Ð8KÔ+LØ—‘—‘Ô Ø)-ˆDŒHô
!¤Ð,GÓ!HÓIˆr$cóp—|j«|jj«|_d|_yr )ÚloadrrrrÙs r%Ú_copyz Image._copyps#€Ø     ‰    Œ Ø—'‘'—,‘,“.ˆŒØˆ r$có^—|jr|j«y|j«yrÓ)rr/r.rÙs r%Ú_ensure_mutablezImage._ensure_mutableus€Ø =Š=Ø J‰JLà I‰IKr$c ó8—d}|rd|›}|s.tj|«\}}tj|«n|}|j    |«s||z}|j «|r|dk(r|j j|«|S|j||fi|¤Ž|S)Nr«r¯ÚPPM)    ÚtempfileÚmkstempÚosr+Úendswithr.rÚsave_ppmÚsave)rÖÚfilerûÚoptionsÚsuffixÚfÚfilenames       r%Ú_dumpz Image._dump{s€ðˆÙ ؘ˜\ˆFáÜ"×*Ñ*¨6Ó2‰KˆAˆxÜ H‰HQKàˆHØ×$Ñ$ VÔ,Ø# fÑ,à     ‰    Œ ᘠ5šØ G‰G× Ñ ˜XÔ &ðˆð ˆDI‰Ih Ñ 2¨'Ò 2àˆr$có‚—|j|juryt|t«sJ‚|j|jk(xrz|j|jk(xr_|j
|j
k(xrD|j «|j «k(xr!|j«|j«k(S©NF)Ú    __class__r½rwr{r rÚ
getpaletteÚtobytesrÜs  r%Ú__eq__z Image.__eq__“sž€Ø >‰> §¡Ñ 0ØÜ˜%¤Ô'Ð'Ð'à I‰I˜Ÿ™Ñ #ò 2Ø—    ‘    ˜UŸZ™ZÑ'ò 2à—    ‘    ˜UŸZ™ZÑ'ò 2ð—‘Ó! U×%5Ñ%5Ó%7Ñ7ò 2ð— ‘ “ %§-¡-£/Ñ1ð     
r$cóؗd|jj›d|jj›d|j›d|jd›d|jd›dt |«d    ›d
 S) Nrur¯ú  image mode=ú size=rÚxr    z at 0xÚXrv)rBr!r r{r ÚidrÙs r%Ú__repr__zImage.__repr__Ÿsm€à—‘×)Ñ)Ð*¨!¨D¯N©N×,CÑ,CÐ+DðEØŸ)™)˜ F¨4¯9©9°Q©<¨.¸¸$¿)¹)ÀA¹,¸ðHܐt“H˜Q<˜qð "ð    
r$c óޗ|jd|jj›d|jj›d|j›d|j
d›d|j
d›d «y    )
z"IPython plain text display supportrur¯rGrHrrIr    rvN)ÚtextrBr!r r{r )rÖÚpÚcycles   r%Ú _repr_pretty_zImage._repr_pretty_¦sf€ð
    
‰Ø—‘×)Ñ)Ð*¨!¨D¯N©N×,CÑ,CÐ+DðEØŸ)™)˜ F¨4¯9©9°Q©<¨.¸¸$¿)¹)ÀA¹,¸Àqð Jõ    
r$c ó’—tj«}    |j||fi|¤Ž|j    «S#t$rYywxYw)zHelper function for iPython display hook.
 
        :param image_format: Image format.
        :returns: image as bytes, saved into the given format.
        N)ÚioÚBytesIOr9Ú    ExceptionÚgetvalue)rÖÚ image_formatÚkwargsÚbs    r%Ú _repr_imagezImage._repr_image°sK€ô J‰J‹Lˆð    Ø ˆDI‰Ia˜Ñ 0¨Ò 0ðz‰z‹|Ðøôò    Ùð    ús–:º    AÁAcó(—|jdd¬«S)zjiPython display hook support for PNG format.
 
        :returns: PNG version of the image as bytes
        ÚPNGr    )Úcompress_level©rZrÙs r%Ú
_repr_png_zImage._repr_png_½s€ð
×Ñ °aÐÓ8Ð8r$có$—|jd«S)zliPython display hook support for JPEG format.
 
        :returns: JPEG version of the image as bytes
        ÚJPEGr^rÙs r%Ú _repr_jpeg_zImage._repr_jpeg_Äs€ð
×Ñ Ó'Ð'r$có¦—ddi}|jdk(r|jdd«|d<n|j«|d<t|«\|d<|d<|S)    NÚversionr2r†ÚrawrŽÚdatarƒr€)r{rDr…)rÖrs  r%Ú__array_interface__zImage.__array_interface__Ës\€ð@IÈ!¸nˆØ 9‰9˜Ò ðŸ,™, u¨cÓ2ˆCŠKàŸ,™,›.ˆC‰KÜ'7¸Ó'=Ñ$ˆˆG‰ c˜)‘n؈
r$cóV—|j«|jj«SrÓ)r.rÚ__arrow_c_schema__rÙs r%rizImage.__arrow_c_schema__Øs€Ø     ‰    Œ ؏w‰w×)Ñ)Ó+Ð+r$cóŠ—|j«|jj«|jj«fSrÓ)r.rriÚ__arrow_c_array__©rÖÚrequested_schemas  r%rkzImage.__arrow_c_array__Üs2€ð         ‰    Œ Ø—‘×*Ñ*Ó,¨d¯g©g×.GÑ.GÓ.IÐJÐJr$cóˆ—|j«}|j|j|j|j    «|gSrÓ)rDrr{r rC)rÖÚim_datas  r%Ú __getstate__zImage.__getstate__âs1€Ø—,‘,“.ˆØ—    ‘    ˜4Ÿ9™9 d§i¡i°·±Ó1BÀGÐLÐLr$cóô—tj|«|dd\}}}}}||_||_||_t j ||«|_|dvr|r|j|«|j|«y)Nr4©rŽrr’r“)
rwr×rrrrÁrrÚ
putpaletteÚ    frombytes)rÖÚstaterr{r rrfs       r%Ú __setstate__zImage.__setstate__æsn€Ü ‰tÔØ*/°°¨)Ñ'ˆˆdD˜' 4؈Œ    ØˆŒ
؈Œ
Ü—(‘(˜4 Ó&ˆŒØ Ð)Ñ )©gØ O‰O˜GÔ $Ø ‰tÕr$có@—|}t|«dk(rt|dt«r|d}|dk(r|dk(r |j}|j    «|j
dk(s|j dk(ryt|j||«}|j|j«ddl
m }t|j|jddz«}g}    |j|«\}}    }
|j!|
«|    rnŒ*|    dkrd|    ›d    } t#| «‚dj%|«S)
a°
        Return image as a bytes object.
 
        .. warning::
 
            This method returns raw image data derived from Pillow's internal
            storage. For compressed image data (e.g. PNG, JPEG) use
            :meth:`~.save`, with a BytesIO parameter for in-memory data.
 
        :param encoder_name: What encoder to use.
 
                             The default is to use the standard "raw" encoder.
                             To see how this packs pixel data into the returned
                             bytes, see :file:`libImaging/Pack.c`.
 
                             A list of C encoders can be seen under codecs
                             section of the function array in
                             :file:`_imaging.c`. Python encoders are registered
                             within the relevant plugins.
        :param args: Extra arguments to the encoder.
        :returns: A :py:class:`bytes` object.
        r    rrer#r$rr3zencoder error z  in tobytes)r~r½r¾r{r.r}r|rÏÚsetimagerr«rbÚmaxÚMAXBLOCKr ÚencodeÚappendÚ RuntimeErrorÚjoin) rÖrÍrÅÚ encoder_argsr¸rbÚbufsizeÚoutputÚbytes_consumedÚerrcoderfrÇs             r%rDz Image.tobytesñs€ð0!ˆ Ü ˆ|Ó  Ò !¤j°¸a±Ä%Ô&Hà'¨™?ˆLà ˜5Ò   \°RÒ%7ØŸ9™9ˆLà     ‰    Œ à :‰:˜Š?˜dŸk™k¨QÒ.Øô ˜Ÿ    ™     <°Ó >ˆØ    
‰
4—7‘7Ôåäi×(Ñ(¨$¯)©)°A©,¸Ñ*:Ó;ˆàˆØØ,-¯H©H°WÓ,=Ñ )ˆN˜G TØ M‰M˜$Ô ÙØð    ð
QŠ;Ø" 7 )¨;Ð7ˆCܘsÓ#Ð #àx‰x˜ÓÐr$cóZ—|j«|jdk7r d}t|«‚|jd«}dj    d|›d|j
d›dj d    «d|›d
|j
d ›dj d    «d |›d j d    «|dg«S)a-
        Returns the image converted to an X11 bitmap.
 
        .. note:: This method only works for mode "1" images.
 
        :param name: The name prefix to use for the bitmap variables.
        :returns: A string containing an X11 bitmap.
        :raises ValueError: If the mode is not "1"
        r†z not a bitmapÚxbmr$z#define z_width rú
Úasciiz_height r    z static char z _bits[] = {
s};)r.r{r,rDr~r r{)rÖÚnamerÇrfs    r%ÚtobitmapzImage.tobitmap*s³€ð         ‰    Œ Ø 9‰9˜Ò Ø ˆCܘS“/Ð !؏|‰|˜EÓ"ˆØx‰xà˜4˜& ¨¯    ©    °!©  ~°RÐ8×?Ñ?ÀÓHؘ4˜& ¨¯©°1©¨°bÐ9×@Ñ@ÀÓIؘt˜f NÐ3×:Ñ:¸7ÓCØØð  ó
ð    
r$có˜—|jdk(s|jdk(ry|}t|«dk(rt|dt«r|d}|dk(r|dk(r |j
}t |j
||«}|j|j«|j|«}|ddk\r d}t|«‚|ddk7r d}t|«‚y)zç
        Loads this image with pixel data from a bytes object.
 
        This method is similar to the :py:func:`~PIL.Image.frombytes` function,
        but loads data into this image instead of creating a new image object.
        rNr    rer#znot enough image datazcannot decode image data) r}r|r~r½r¾r{rÈrxrÚdecoder,)rÖrfrÄrÅÚ decoder_argsÚdÚsrÇs        r%rtzImage.frombytesDsɀð :‰:˜Š?˜dŸk™k¨QÒ.Ø à ˆ Ü ˆ|Ó  Ò !¤j°¸a±Ä%Ô&Hà'¨™?ˆLð ˜5Ò   \°RÒ%7ØŸ9™9ˆLô ˜Ÿ    ™     <°Ó >ˆØ    
‰
4—7‘7ÔØ H‰HT‹Nˆà ˆQ‰41Š9Ø)ˆCܘS“/Ð !Ø ˆQ‰41Š9Ø,ˆCܘS“/Ð !ð r$cót—|jz|jrm|jjrV|jj«\}}|jj |jj ||«d|j_d|j_d|jvr…|dvrt|jdt«r*|jj|jdd«n(|jj|jd«d|j_nS|jj|jj |jj «|j_|j%|jj|j«Sy)at
        Allocates storage for the image and loads the pixel data.  In
        normal cases, you don't need to call this method, since the
        Image class automatically loads an opened image when it is
        accessed for the first time.
 
        If the file associated with the image was opened by Pillow, then this
        method will close it. The exception to this is if the image has
        multiple frames, in which case the file will be left open for seek
        operations. See :ref:`file-handling` for more information.
 
        :returns: An image access object.
        :rtype: :py:class:`.PixelAccess`
        NrÚ transparency©rr“r•)rÿrÚdirtyrørrsr{Úrawmoderr½ÚintÚputpalettealphaÚputpalettealphasrCÚ pixel_accessr)rÖr{Úarrs   r%r.z
Image.loadis4€ð 8‰8Ñ  D§L£L°T·\±\×5GÓ5GàŸ ™ ×,Ñ,Ó.‰IˆD#Ø G‰G× Ñ ˜tŸ|™|×0Ñ0°$¸Ô <Ø!"ˆDL‰LÔ Ø#'ˆDL‰LÔ  Ø §¡Ñ*¨t°|Ñ/CܘdŸi™i¨Ñ7¼Ô=Ø—G‘G×+Ñ+¨D¯I©I°nÑ,EÀqÕIà—G‘G×,Ñ,¨T¯Y©Y°~Ñ-FÔGØ$*— ‘ Õ!à'+§w¡w×'9Ñ'9Ø—L‘L×%Ñ% t§|¡|×'8Ñ'8ó(— ‘ Ô$ð 8‰8Ð Ø—7‘7×'Ñ'¨¯ © Ó6Ð 6Ør$có—y)as
        Verifies the contents of a file. For data read from a file, this
        method attempts to determine if the file is broken, without
        actually decoding the image data.  If this method finds any
        problems, it raises suitable exceptions.  If you need to load
        the image after using this method, you must reopen the image
        file.
        Nr#rÙs r%Úverifyz Image.verifys€ð     r$écól‡‡‡—|j«d|jv}|s=|jdk(r.|jr|jj}nd}|dk(r|rd}|r||jk(r‰s|j    «S‰rÈ|dvr d}t |«‚|j j|‰«}|j|«}    |r†|j jdk(rm|    jdŠ                        d$d„Š|d    k(r
‰‰‰«Šn6t|«dk(r(tˆˆˆfd
„tt‰««D««Š‰|    jd<|    S|jdk(r^|dk(r|j|«S|d k(rC|j«\}
} } } td|
| | f«}|j|«}td || f«Sd }d }|r2|jdvr|dvs|jdk(rK|dvrG|j|j j!||jd««}    |    jd=|    S|jdvr-|dvr(|jd}t#|t$«rt'j(d«d}nzt+|jd«}|jdk(r{|j€J‚|j-|j|jj«t#|t«r-d}|j€J‚    |jj/||«}|€d }nÕ|j3d|«|dvr|j5|«}n|j5d«}|j7d«}nŠ|jdk(r{|dvrw|jd}d}t#|t$«r|j j9|«n:t#|t:«r|j j=|d«n d}t |«‚|dk(rÌ|t>j@k(r¹|j j|«}|j|«}    ddl!m"}|jDd|    j jGd««|    _|r |    jd=|C    |    jj/tItt:df|«|    «|    jd<|    S|    Sd|j|fvr­|}|dk(r,|jd vr|j5d«}|j}n|}|d vrtdd!l!m&}|jOd"«}|jOd«}|jdk(r||gn||g}|jQ|d|d|j|«}|jS|«S|€tTjV}    |j j5||«}|j|«}    |d#vr@|t>j@k7r-ddl!m"}|jDd|jGd««|    _|r |    jd=|m|    jdk(rO|    jrC    |    jj/tItt:df|«|    «|    jd<|    S||    jd<|    S#t
$r(}t1|«dk(rd }n t |«|‚Yd }~Œ˜d }~wwxYw#tJ$r&|    jd=t'j(d«Y|    SwxYw#t
$rw    tY|j«}||jk(r‚|j j5|«}|j5||«}n#tZ$r}d}t |«|‚d }~wwxYwYŒºwxYw#t
$r;}|    jd=t1|«dk7rt'j(d«Yd }~|    Sd }~wwxYw)%aÛ
        Returns a converted copy of this image. For the "P" mode, this
        method translates pixels through the palette.  If mode is
        omitted, a mode is chosen so that all information in the image
        and the palette can be represented without a palette.
 
        This supports all possible conversions between "L", "RGB" and "CMYK". The
        ``matrix`` argument only supports "L" and "RGB".
 
        When translating a color image to grayscale (mode "L"),
        the library uses the ITU-R 601-2 luma transform::
 
            L = R * 299/1000 + G * 587/1000 + B * 114/1000
 
        The default method of converting a grayscale ("L") or "RGB"
        image into a bilevel (mode "1") image uses Floyd-Steinberg
        dither to approximate the original image luminosity levels. If
        dither is ``None``, all values larger than 127 are set to 255 (white),
        all other values to 0 (black). To use other thresholds, use the
        :py:meth:`~PIL.Image.Image.point` method.
 
        When converting from "RGBA" to "P" without a ``matrix`` argument,
        this passes the operation to :py:meth:`~PIL.Image.Image.quantize`,
        and ``dither`` and ``palette`` are ignored.
 
        When converting from "PA", if an "RGBA" palette is present, the alpha
        channel from the image will be used instead of the values from the palette.
 
        :param mode: The requested mode. See: :ref:`concept-modes`.
        :param matrix: An optional conversion matrix.  If given, this
           should be 4- or 12-tuple containing floating point values.
        :param dither: Dithering method, used when converting from
           mode "RGB" to "P" or from "RGB" or "L" to "1".
           Available methods are :data:`Dither.NONE` or :data:`Dither.FLOYDSTEINBERG`
           (default). Note that this is not used when ``matrix`` is supplied.
        :param palette: Palette to use when converting from mode "RGB"
           to "P".  Available palettes are :data:`Palette.WEB` or
           :data:`Palette.ADAPTIVE`.
        :param colors: Number of colors to use for the :data:`Palette.ADAPTIVE`
           palette. Defaults to 256.
        :rtype: :py:class:`~PIL.Image.Image`
        :returns: An :py:class:`~PIL.Image.Image` object.
        rr’r”r•)rŽr”zillegal conversionr2c    ó˜—|d|dz|d|dzz|d|dzz|ddzz}tdtdt|«««S)Nrr    r1r2rLéÿ)ryÚminr”)r‚ÚvÚvalues   r%Úconvert_transparencyz+Image.convert.<locals>.convert_transparencyäs\€ð˜a™D 1 Q¡4™K¨!¨A©$°°1±©+Ñ5¸¸!¹¸qÀ¹t¹ ÑCÀaÈÁdÈSÁjÑPEܘq¤# c¬3¨u«:Ó"6Ó7Ð7r$rŽc3óH•K—|]}‰‰|dz|dzdz‰«–—Œy­w)r3Nr#)Ú.0Úir¢Úmatrixrs  €€€r%ú    <genexpr>z Image.convert.<locals>.<genexpr>ís3øèø€ò)àñ-¨V°A¸±E¸AÀ¹EÀA¹IÐ-FÈ ×Uñ)ùsƒ"r“NF)r†rŽrŠr‹©rr•)rrr–r•)rŽr”r’zVPalette images with Transparency expressed in bytes should be converted to RGBA imagesT©r    r    z2Couldn't allocate a palette color for transparencyz$cannot allocate more than 256 colorsrþ©rr“r•rz.Transparency for P mode should be bytes or intr    r.z0Couldn't allocate palette entry for transparencyr‘)r”r•r—)ÚImageCmsÚsRGBr)r‚ztuple[float, ...]r ztuple[int, int, int]rër”).r.rr{rrr,rÚconvert_matrixrrr~r¾ÚrangeÚquantizeÚsplitÚmergeÚconvert_transparentr½ÚbytesÚwarningsÚwarnrrsÚgetcolorÚstrÚputpixelÚconvertÚgetpixelr–r”r•rVrXr«rdrCrrUr«Ú createProfileÚbuildTransformÚapplyrPrTrœr¿) rÖr{r¦ÚditherrÚcolorsÚhas_transparencyrÇrÚnew_imÚrÚgrYróÚrgbrOÚtrnsÚ delete_trnsÚtÚtrns_imÚerrr¸rdÚ
other_moder«ÚsrgbÚlabÚprofilesÚ    transformÚmodebaser¢rs   `                           @@r%r¹z Image.convert˜sEú€ðh         ‰    Œ à)¨T¯Y©YÐ6ÐÙ˜Ÿ    ™     SÒ(à|Š|Ø—|‘|×(Ñ(‘àØuŠ}Ñ!1ؐ٘ §    ¡    Ò)±&Ø—9‘9“;Ð á à˜<Ñ'Ø*Ü  “oÐ%Ø—‘×'Ñ'¨¨fÓ5ˆBØ—Y‘Y˜r“]ˆFÙ D§G¡G§M¡M°QÒ$6Ø%Ÿ{™{¨>Ñ: ð8Ø(ð8Ø-Að8àó8ð ˜3’;Ù#7¸À Ó#M‘Lܘ“Y !’^Ü#(õ)ä!&¤s¨<Ó'8Ó!9ô)ó$Lð/;— ‘ ˜NÑ+؈Mà 9‰9˜Ò ؐsŠ{Ø—}‘} VÓ,Ð,ؘ’Ø!ŸZ™Z›\‘
1a˜Ü˜E A q¨! 9Ó-Ø—L‘L Ó(Ü˜T A q 6Ó*Ð*àˆØˆ â Ø—    ‘    Ð4Ñ4¸ÀÑ9OØ—    ‘    ˜UÒ" tÐ/KÑ'KðŸ™Ø—G‘G×/Ñ/°°d·i±iÀÑ6OÓPóð—K‘K Ð/ؐ Ø—‘Ð/Ò/°DÐ<MÒ4MØ—I‘I˜nÑ-Ü˜a¤Ô'ä—M‘Mð3ôð#'’Kô" $§)¡)¨VÓ4GØ—y‘y CÒ'Ø#Ÿ|™|Ð7Ð7Ð7Ø×*Ñ*¨4¯<©<¸¿¹×9JÑ9JÔKÜ% a¬Ô/Ø"V˜CØ#*§?¡?Ð#>Ð>Ð#>ðAØ$+§O¡O×$<Ñ$<¸QÀÓ$E ðyØ#™à×(Ñ(¨°Ô3à <Ñ/Ø&-§o¡o°dÓ&;™Gð'.§o¡o°eÓ&<˜GØ&×/Ñ/°Ó7™à—‘˜cÒ! dÐ.BÑ&BØ—I‘I˜nÑ-Ø" ä˜a¤Ô'Ø—G‘G×,Ñ,¨QÕ/Ü ¤3Ô'Ø—G‘G×+Ñ+¨A¨qÕ1àJCÜ$ S›/Ð)à 3Š;˜7¤g×&6Ñ&6Ò6Ø—‘×!Ñ! &Ó)ˆBØ—Y‘Y˜r“]ˆFÝ &à6˜\×6Ñ6ؐv—y‘y×+Ñ+¨EÓ2óˆFŒNñð—K‘K Ð/ØÐð    VØ28·.±.×2IÑ2IÜœU¤3¨ 8™_¨dÓ3Øó3F—K‘K Ñ/ðˆM6ˆMà T—Y‘Y Ð%Ñ %؈BؐuŠ}Ø—7‘7Ð"9Ñ9ØŸ™ FÓ+BØŸW™W‘
à!
ØÐ4Ñ4Ý&à×-Ñ-¨fÓ5Ø×,Ñ,¨UÓ3Ø*,¯'©'°UÒ*:˜C ™;ÀÀsÀ Ø$×3Ñ3ؘQ‘K ¨!¡¨b¯g©g°t󐠠  ð!—‘ rÓ*Ð*ð ˆ>Ü×*Ñ*ˆFð     -Ø—‘—‘  vÓ.ˆB𗑘2“ˆØ ;Ñ  7¬g×.>Ñ.>Ò#>Ý &à6˜\×6Ñ6°u¸b¿m¹mÈEÓ>RÓSˆFŒNÙ à— ‘ ˜NÐ+Ø Ð Ø{‰{˜cÒ! f§n¢nð Ø28·.±.×2IÑ2IÜœU¤3¨ 8™_¨dÓ3°Vó3F—K‘K Ñ/ðˆ ð/3— ‘ ˜NÑ+؈ øôm$.òAÜ#& q£6Ð-SÒ#Sð)-¡Aä*4°S«/¸qÐ$@õ%&ûð    Aûôd!òV🠙  NÐ3Ü—M‘MÐ"TÕU؈Mð Vûô@ò
    -ð     -ä& t§y¡yÓ1Ø˜tŸy™yÒ(ØØ—W‘W—_‘_ XÓ.Ø—Z‘Z  fÓ-‘øÜò -Ø*Ü  “o¨1Ð,ûð -úòð
    -ûô4"òØŸ ™  NÐ3ܘ1“vÐ!GÒGô!Ÿ ™ ØNôûð
ˆ ûðús{Ë>ZÒAZ:Ö[,Ø3A]/Ú    Z7ÚZ2Ú2Z7Ú:+[)Û([)Û,    ],Û6A]    Ý],Ý        ]%Ý] Ý ]%Ý%],Ý+],Ý/    ^3Ý80^.Þ.^3rcó¦—|j«|€/tj}|jdk(rtj}|jdk(r/|tjtj
fvr d}t |«‚|r®|j«|jdk7r d}t |«‚|jdvr d}t |«‚|jjd||j«}|j|«}|j€J‚|jj«|_
|S|dkr d    }t |«‚|j|jj|||««}d
d l m}    |jj«}
|jj!|
|
«d|t#|
«z} |    j|
| «|_
|S) a3
        Convert the image to 'P' mode with the specified number
        of colors.
 
        :param colors: The desired number of colors, <= 256
        :param method: :data:`Quantize.MEDIANCUT` (median cut),
                       :data:`Quantize.MAXCOVERAGE` (maximum coverage),
                       :data:`Quantize.FASTOCTREE` (fast octree),
                       :data:`Quantize.LIBIMAGEQUANT` (libimagequant; check support
                       using :py:func:`PIL.features.check_feature` with
                       ``feature="libimagequant"``).
 
                       By default, :data:`Quantize.MEDIANCUT` will be used.
 
                       The exception to this is RGBA images. :data:`Quantize.MEDIANCUT`
                       and :data:`Quantize.MAXCOVERAGE` do not support RGBA images, so
                       :data:`Quantize.FASTOCTREE` is used by default instead.
        :param kmeans: Integer greater than or equal to zero.
        :param palette: Quantize to the palette of given
                        :py:class:`PIL.Image.Image`.
        :param dither: Dithering method, used when converting from
           mode "RGB" to "P" or from "RGB" or "L" to "1".
           Available methods are :data:`Dither.NONE` or :data:`Dither.FLOYDSTEINBERG`
           (default).
        :returns: A new image
        Nr•zoFast Octree (method == 2) and libimagequant (method == 3) are the only valid methods for quantizing RGBA imagesr’zbad mode for palette image>rŽr”z7only RGB or L mode images can be quantized to a paletterzkmeans must not be negativer    r)r.rZr[r{r]r^r,rr¹rrrr¯r«rdÚgetpalettemoderCr~) rÖr¿ÚmethodÚkmeansrr¾rÇrrÁrdr{Ú palette_datas             r%r¯zImage.quantize˜s–€ðF         ‰    Œ à ˆ>ä×'Ñ'ˆF؏y‰y˜FÒ"Ü!×,Ñ,à 9‰9˜Ò  6Ü × Ñ Ü × "Ñ "ð2
ñ$
ð Hð ô˜S“/Ð !á à L‰LŒN؏|‰|˜sÒ"Ø2Ü  “oÐ%؏y‰y  Ñ,ØOÜ  “oÐ%Ø—‘—‘  f¨g¯j©jÓ9ˆBØ—Y‘Y˜r“]ˆFØ—?‘?Ð.Ð .Ð.Ø$Ÿ_™_×1Ñ1Ó3ˆFŒN؈Mà AŠ:Ø/ˆCܘS“/Ð !à Y‰Yt—w‘w×'Ñ'¨°¸Ó?Ó @ˆå"àu‰u×#Ñ#Ó%ˆØ—u‘u×'Ñ'¨¨dÓ3Ð4H°f¼sÀ4»yÑ6HÐIˆ Ø.\×.Ñ.¨t°\ÓBˆŒ
àˆ    r$cót—|j«|j|jj««S)zî
        Copies this image. Use this method if you wish to paste things
        into an image, but still retain the original.
 
        :rtype: :py:class:`~PIL.Image.Image`
        :returns: An :py:class:`~PIL.Image.Image` object.
        )r.rrrrÙs r%rz
Image.copyës&€ð         ‰    Œ ؏y‰y˜Ÿ™Ÿ™›Ó(Ð(r$cóü—|€|j«S|d|dkr d}t|«‚|d|dkr d}t|«‚|j«|j|j    |j
|««S)a¸
        Returns a rectangular region from this image. The box is a
        4-tuple defining the left, upper, right, and lower pixel
        coordinate. See :ref:`coordinate-system`.
 
        Note: Prior to Pillow 3.4.0, this was a lazy operation.
 
        :param box: The crop rectangle, as a (left, upper, right, lower)-tuple.
        :rtype: :py:class:`~PIL.Image.Image`
        :returns: An :py:class:`~PIL.Image.Image` object.
        r1rz&Coordinate 'right' is less than 'left'r2r    z'Coordinate 'lower' is less than 'upper')rr,r.rÚ_cropr)rÖÚboxrÇs   r%Úcropz
Image.cropøsx€ð ˆ;Ø—9‘9“;Ð à ˆq‰6C˜‘FŠ?Ø:ˆCܘS“/Ð !Ø ‰Vc˜!‘fŠ_Ø;ˆCܘS“/Ð !à     ‰    Œ ؏y‰y˜Ÿ™ D§G¡G¨SÓ1Ó2Ð2r$cóÀ—tttt|««\}}}}t||z
«t||z
«f}t    |«|j ||||f«S)a]
        Returns a rectangular region from the core image object im.
 
        This is equivalent to calling im.crop((x0, y0, x1, y1)), but
        includes additional sanity checks.
 
        :param im: a core image object
        :param box: The crop rectangle, as a (left, upper, right, lower)-tuple.
        :returns: A core image object.
        )r%r”ÚroundÚabsÚ_decompression_bomb_checkrÙ)rÖrrØÚx0Úy0Úx1Úy1Úabsolute_valuess        r%r×z Image._cropsX€ôœS¤#¤e¨S£/Ó2‰ˆˆBBä˜r B™w›<¬¨R°"©W«Ð6ˆä! /Ô2àw‰w˜˜B  BÐ'Ó(Ð(r$có—y)aY
        Configures the image file loader so it returns a version of the
        image that as closely as possible matches the given mode and
        size. For example, you can use this method to convert a color
        JPEG to grayscale while loading it.
 
        If any changes are made, returns a tuple with the chosen ``mode`` and
        ``box`` with coordinates of the original image within the altered one.
 
        Note that this method modifies the :py:class:`~PIL.Image.Image` object
        in place. If the image has already been loaded, this method has no
        effect.
 
        Note: This method is not implemented for most images. It is
        currently implemented only for JPEG and MPO images.
 
        :param mode: The requested mode.
        :param size: The requested size in pixels, as a 2-tuple:
           (width, height).
        Nr#)rÖr{r s   r%Údraftz Image.draft(s€ð.     r$c
ó6—ddlm}|j«t|«r|«}t    |d«s d}t |«‚t ||j«}|jjdk(s|r*|j|j|j««St|jj«Dcgc];}|j|j|jj|«««‘Œ=}}t|j|«Scc}w)zé
        Filters this image using the given filter.  For a list of
        available filters, see the :py:mod:`~PIL.ImageFilter` module.
 
        :param filter: Filter kernel.
        :returns: An :py:class:`~PIL.Image.Image` object.r    )rcÚfilterz>filter argument should be ImageFilter.Filter instance or class)r«rcr.Úcallabler*Ú    TypeErrorr½ÚMultibandFilterrrrrær®Úgetbandr±r{)rÖrærcrÇÚ    multibandÚcÚimss       r%ræz Image.filterAsڀõ    "à     ‰    Œ ä FÔ Ù“XˆFܐv˜xÔ(ØRˆCܘC“.Ð  ä˜v {×'BÑ'BÓCˆ    Ø 7‰7=‰=˜AÒ ¡Ø—9‘9˜VŸ]™]¨4¯7©7Ó3Ó4Ð 4ôCHÈÏÉÏ É ÓBVö
Ø=>ˆDI‰If—m‘m D§G¡G§O¡O°AÓ$6Ó7Õ 8ð
ˆð
ôT—Y‘Y Ó$Ð$ùò
sÂ>ADcóT—tj|j«jS)zä
        Returns a tuple containing the name of each band in this image.
        For example, ``getbands`` on an RGB image returns ("R", "G", "B").
 
        :returns: A tuple containing band names.
        :rtype: tuple
        )r rzr{rrÙs r%ÚgetbandszImage.getbands\s€ô× Ñ  §¡Ó+×1Ñ1Ð1r$)Ú
alpha_onlycóX—|j«|jj|«S)aG
        Calculates the bounding box of the non-zero regions in the
        image.
 
        :param alpha_only: Optional flag, defaulting to ``True``.
           If ``True`` and the image has an alpha channel, trim transparent pixels.
           Otherwise, trim pixels when all channels are zero.
           Keyword-only argument.
        :returns: The bounding box is returned as a 4-tuple defining the
           left, upper, right, and lower pixel coordinate. See
           :ref:`coordinate-system`. If the image is completely empty, this
           method returns None.
 
        )r.rÚgetbbox)rÖrðs  r%ròz Image.getbboxfs €ð          ‰    Œ ؏w‰w‰˜zÓ*Ð*r$có—|j«|jdvrN|jj«}t    d«Dcgc]}||sŒ    |||f‘Œ}}t |«|kDry|S|jj |«Scc}w)aó
        Returns a list of colors used in this image.
 
        The colors will be in the image's mode. For example, an RGB image will
        return a tuple of (red, green, blue) color values, and a P image will
        return the index of the color in the palette.
 
        :param maxcolors: Maximum number of colors.  If this number is
           exceeded, this method returns None.  The default limit is
           256 colors.
        :returns: An unsorted list of (count, pixel) values.
        )r†rŽr’r›N)r.r{rÚ    histogramr®r~Ú    getcolors)rÖÚ    maxcolorsÚhr¥Úouts     r%rõzImage.getcolorsys€ð          ‰    Œ Ø 9‰9˜Ñ 'Ø—‘×!Ñ!Ó#ˆAÜ?DÀS»zÖ+R¸!ÈQÈqËT¨Q¨q©T°1ªIÐ+RˆCÐ+Rܐ3‹x˜)Ò#ØØˆJ؏w‰w× Ñ  Ó+Ð+ùò    ,Ss Á
BÁ    Bcót—|j«||jj|«S|jS)aå
        Returns the contents of this image as a sequence object
        containing pixel values.  The sequence object is flattened, so
        that values for line one follow directly after the values of
        line zero, and so on.
 
        Note that the sequence object returned by this method is an
        internal PIL data type, which only supports certain sequence
        operations.  To convert it to an ordinary sequence (e.g. for
        printing), use ``list(im.getdata())``.
 
        :param band: What band to return.  The default is to return
           all bands.  To return a single band, pass in the index
           value (e.g. 0 to get the "R" band from an "RGB" image).
        :returns: A sequence-like object.
        )r.rrê)rÖÚbands  r%røz Image.getdata’s/€ð$         ‰    Œ Ø Ð Ø—7‘7—?‘? 4Ó(Ð (؏w‰wˆr$có쇗‰j«‰jjdkDr1tˆfd„t    ‰jj«D««S‰jj «S)a"
        Gets the minimum and maximum pixel values for each band in
        the image.
 
        :returns: For a single-band image, a 2-tuple containing the
           minimum and maximum pixel value.  For a multi-band image,
           a tuple containing one 2-tuple for each band.
        r    c3óp•K—|]-}‰jj|«j«–—Œ/y­wrÓ)rrêÚ
getextrema)r¤r¥rÖs  €r%r§z#Image.getextrema.<locals>.<genexpr>µs'øèø€ÒW¸Q˜Ÿ™Ÿ™¨Ó+×6Ñ6×8ÑWùsƒ36)r.rrr¾r®rýrÙs`r%rýzImage.getextrema©sOø€ð         ‰    Œ Ø 7‰7=‰=˜1Ò ÜÓWÄ%ÈÏÉÏ É ÓBVÔWÓWÐ W؏w‰w×!Ñ!Ó#Ð#r$có ‡‡—dd„Šdˆˆfd„ Št€tjd«iSd|jvriStj|jdj d««}‰|j «‰|«iS)z™
        Returns a dictionary containing the XMP tags.
        Requires defusedxml to be installed.
 
        :returns: XMP tags in a dictionary.
        có0—tjdd|«S)Nz^{[^}]+}r«)ÚreÚsub)Útags r%Úget_namezImage.getxmp.<locals>.get_nameÀs€Ü—6‘6˜* b¨#Ó.Ð .r$có •—|jj«Dcic]\}}‰|«|“Œ}}}t|«}|r]|D]V}‰|j«}‰    |«}||vr1t    ||t«s    ||g||<||j |«ŒR|||<ŒX|S|r|j r|j |d<|S|j Scc}}w)NrN)ÚattribÚitemsÚlistrr½r|rN)
ÚelementÚkr r¡ÚchildrenÚchildrˆÚ child_valuerÚ    get_values
        €€r%r zImage.getxmp.<locals>.get_valueÃsÚø€Ø@GÇÁ×@TÑ@TÓ@V×$W¹¸¸1¡X¨a£[°!¡^Ð$WˆEÑ$WܘG“}ˆHÙØ%ò2EÙ# E§I¡IÓ.DÙ"+¨EÓ"2Kؘu‘}Ü)¨%°©+´tÔ<Ø+0°©;¨-˜E $™Kؘd™ ×*Ñ*¨;Õ7à&1˜˜dš ð2ðˆLñ Ø—<’<Ø$+§L¡LE˜&‘MðˆLð—|‘|Ð#ùó!%XsŸC
z5XMP data cannot be read without defusedxml dependencyÚxmps )rr·rër·)rr`rëzstr | dict[str, Any] | None)rr´rµrÚ
fromstringÚrstripr)rÖÚrootrr s  @@r%Úgetxmpz Image.getxmp¸stù€ó    /ö    ô( Ð Ü M‰MÐQÔ R؈IØ ˜Ÿ    ™    Ñ !؈IÜ×%Ñ% d§i¡i°Ñ&6×&=Ñ&=¸hÓ&GÓHˆÙ˜Ÿ™Ó"¡I¨d£OÐ4Ð4r$cóR—|j€t«|_n"|jjr |jSd|j_|jj    d«}|€âd|jvrDt
j dj|jdjd«dd««}nt|d«r„|jj|j_ |jj|j_|jj|j |jj"«||jj%|«t&j(j*|jvr‹|jj    d    «}d
}|s|jj    d «x}rd }|rKt-j.||«}|r3t1|d «|jt&j(j*<|jS)zj
        Gets EXIF data from the image.
 
        :returns: an :py:class:`~PIL.Image.Exif` object.
        NTÚexifzRaw profile type exifr«r†r2Útag_v2zXML:com.adobe.xmpztiff:Orientation(="|>)([0-9])rstiff:Orientation(="|>)([0-9])r1)rÚExifÚ_loadedrÚgetr³Úfromhexr~r°r*rÚ_bigtiffÚbigtiffÚ_endianÚendianÚ load_from_fpr"Ú_offsetr.r
ÚBaseÚ OrientationrÚsearchr”)rÖÚ    exif_infoÚxmp_tagsÚpatternÚmatchs     r%Úgetexifz Image.getexifßs“€ð :‰:Ð Ü›ˆDJØ Z‰Z× Ò Ø—:‘:Ð Ø!ˆ
‰
Ôà—I‘I—M‘M &Ó)ˆ    Ø Ð Ø&¨$¯)©)Ñ3Ü!ŸM™MØ—G‘G˜DŸI™IÐ&=Ñ>×DÑDÀTÓJÈ1È2ÐNÓOó‘    ô˜˜xÔ(Ø%)§[¡[×%9Ñ%9—
‘
Ô"Ø$(§K¡K×$7Ñ$7—
‘
Ô!Ø—
‘
×'Ñ'¨¯©°·±×1DÑ1DÔEØ Ð  Ø J‰JO‰O˜IÔ &ô =‰=× $Ñ $¨D¯J©JÑ 6Ø—y‘y—}‘}Ð%8Ó9ˆHØ#CˆGÙ¨T¯Y©Y¯]©]¸5Ó-AÐ!A Ð!AØ;ÙÜŸ    ™     '¨8Ó4ÙÜ<?ÀÀaÁ»MD—J‘JœxŸ}™}×8Ñ8Ñ9àz‰zÐr$cóŒ—|j|jjsyd|j_|j«yrA)rrr'rÙs r%Ú _reload_exifzImage._reload_exifs0€Ø :‰:Ð  T§Z¡Z×%7Ò%7Ø Ø"ˆ
‰
ÔØ  ‰ r$có\—ddlm}tdd«|jj|«S)Nr    rzImage.Image.get_child_imagesé )r«rbrÚget_child_images)rÖrbs  r%r,zImage.get_child_images s'€ÝäÐ0°"Ô5Ø×"Ñ"×3Ñ3°DÓ9Ð9r$cóN—|j«|jjS)zr
        Returns a capsule that points to the internal image memory.
 
        :returns: A capsule object.
        )r.rÚptrrÙs r%Úgetimz Image.getims€ð         ‰    Œ ؏w‰w{‰{Ðr$cóȗ|j«    |jj«}|€|}t    |jj ||««S#t$rYywxYw)aG
        Returns the image palette as a list.
 
        :param rawmode: The mode in which to return the palette. ``None`` will
           return the palette in its current mode.
 
           .. versionadded:: 9.1.0
 
        :returns: A list of color values [r, g, b, ...], or None if the
           image has no palette.
        N)r.rrÑr,rrC)rÖr“r{s   r%rCzImage.getpalettes`€ð         ‰    Œ ð    Ø—7‘7×)Ñ)Ó+ˆDð ˆ?؈GܐD—G‘G×&Ñ& t¨WÓ5Ó6Ð6øô    ò    Ùð    ús’AÁ    A!Á A!có—|jdvsd|jvry|jdk(r3|j€J‚|jjjd«Sy)aN
        Determine if an image has transparency data, whether in the form of an
        alpha channel, a palette with an alpha channel, or a "transparency" key
        in the info dictionary.
 
        Note the image might still appear solid, if all of the values shown
        within are opaque.
 
        :returns: A boolean.
        )rrr“r•r–rTr’ÚAF)r{rrr7rÙs r%Úhas_transparency_datazImage.has_transparency_data1sZ€ð I‰IÐ;Ñ ;Ø §¡Ñ*àØ 9‰9˜Ò Ø—<‘<Ð+Ð +Ð+Ø—<‘<×$Ñ$×-Ñ-¨cÓ2Ð 2Ør$có†—|jdk7sd|jvryddlm}|j    d«}|€J‚|jd}t |t «rt|«D]\}}|||dzdz<Œn d    ||dzdz<|jdt |««|_d|j_    |jd=y)
        If a P mode image has a "transparency" key in the info dictionary,
        remove the key and instead apply the transparency to the palette.
        Otherwise, the image is unchanged.
        r’rNr    rr•r3r2r)
r{rr«rdrCr½r³Ú    enumeraterr’)rÖrdrrr¥Úalphas      r%Úapply_transparencyzImage.apply_transparencyGsŀð 9‰9˜Ò ˜~°T·Y±YÑ>Ø å"à—/‘/ &Ó)ˆØÐ"Ð"Ð"Ø—y‘y Ñ0ˆ Ü l¤EÔ *Ü% lÓ3ò +‘5Ø%*˜˜A™ ™    Ò"ñ +ð-.ˆGL 1Ñ$ qÑ(Ñ )Ø0|×0Ñ0°¼¸w»ÓHˆŒ ؈ ‰ Ôà I‰InÑ %r$cój—|j«|jjt|««S)a 
        Returns the pixel value at a given position.
 
        :param xy: The coordinate, given as (x, y). See
           :ref:`coordinate-system`.
        :returns: The pixel value.  If the image is a multi-layer image,
           this method returns a tuple.
        )r.rrºr¾)rÖÚxys  r%rºzImage.getpixel_s&€ð         ‰    Œ ؏w‰w×Ѥ b£    Ó*Ð*r$cóˆ—|j«|jj«\}}t|«t|«fS)z¸
        Get projection to x and y axes
 
        :returns: Two sequences, indicating where there are non-zero
            pixels along the X-axis and the Y-axis, respectively.
        )r.rÚ getprojectionr)rÖrIÚys   r%r;zImage.getprojectionns6€ð         ‰    Œ ؏w‰w×$Ñ$Ó&‰ˆˆ1ܐA‹wœ˜Q›ÐÐr$cóD—|j«|r6|j«|jjd|j«S|jdvr1|jj||«S|j    ««S|jj«S)aÎ
        Returns a histogram for the image. The histogram is returned as a
        list of pixel counts, one for each pixel value in the source
        image. Counts are grouped into 256 bins for each band, even if
        the image has more than 8 bits per band. If the image has more
        than one band, the histograms for all bands are concatenated (for
        example, the histogram for an "RGB" image contains 768 values).
 
        A bilevel image (mode "1") is treated as a grayscale ("L") image
        by this method.
 
        If a mask is provided, the method returns a histogram for those
        parts of the image where the mask image is non-zero. The mask
        image must have the same size as the image, and be either a
        bi-level image (mode "1") or a grayscale image ("L").
 
        :param mask: An optional mask.
        :param extrema: An optional tuple of manually-specified extrema.
        :returns: A list containing pixel counts.
        rþ©rŠrˆ)r.rrôr{rý©rÖÚmaskÚextremas   r%rôzImage.histogramzsˆ€ð.         ‰    Œ Ù Ø I‰IŒKØ—7‘7×$Ñ$ V¨T¯W©WÓ5Ð 5Ø 9‰9˜
Ñ "Ø—7‘7×$Ñ$Ø"Ð.óð Ø48·O±OÓ4Eóð ðw‰w× Ñ Ó"Ð"r$cóD—|j«|r6|j«|jjd|j«S|jdvr1|jj||«S|j    ««S|jj«S)ah
        Calculates and returns the entropy for the image.
 
        A bilevel image (mode "1") is treated as a grayscale ("L")
        image by this method.
 
        If a mask is provided, the method employs the histogram for
        those parts of the image where the mask image is non-zero.
        The mask image must have the same size as the image, and be
        either a bi-level image (mode "1") or a grayscale image ("L").
 
        :param mask: An optional mask.
        :param extrema: An optional tuple of manually-specified extrema.
        :returns: A float value representing the image entropy
        rþr>)r.rÚentropyr{rýr?s   r%rCz Image.entropy›s‚€ð$         ‰    Œ Ù Ø I‰IŒKØ—7‘7—?‘? 6¨4¯7©7Ó3Ð 3Ø 9‰9˜
Ñ "Ø—7‘7—?‘?Ø"Ð.óð Ø48·O±OÓ4Eóð ðw‰w‰Ó Ð r$có`—t|t«r| d}t|«‚|}d}|€d}t|«dk(r`t|t«r |j}n*t|t«r |j}n d}t|«‚||d|dz|d|dzfz }t|t
«r#ddlm}|j||j«}n€t|t«rn|j«|j|jk7r8|jd    k7s|jd
vr|j|j«}|j}n|}|j«|r8|j«|jj|||j«y|jj||«y) aÌ
        Pastes another image into this image. The box argument is either
        a 2-tuple giving the upper left corner, a 4-tuple defining the
        left, upper, right, and lower pixel coordinate, or None (same as
        (0, 0)). See :ref:`coordinate-system`. If a 4-tuple is given, the size
        of the pasted image must match the size of the region.
 
        If the modes don't match, the pasted image is converted to the mode of
        this image (see the :py:meth:`~PIL.Image.Image.convert` method for
        details).
 
        Instead of an image, the source can be a integer or tuple
        containing pixel values. The method then fills the region
        with the given color. When creating RGB images, you can
        also use color strings as supported by the ImageColor module. See
        :ref:`colors` for more information.
 
        If a mask is given, this method updates only the regions
        indicated by the mask. You can use either "1", "L", "LA", "RGBA"
        or "RGBa" images (if present, the alpha band is used as mask).
        Where the mask is 255, the given image is copied as is.  Where
        the mask is 0, the current value is preserved.  Intermediate
        values will mix the two images together, including their alpha
        channels if they have them.
 
        See :py:meth:`~PIL.Image.Image.alpha_composite` if you want to
        combine images with respect to their alpha channels.
 
        :param im: Source image or pixel value (integer, float or tuple).
        :param box: An optional 4-tuple giving the region to paste into.
           If a 2-tuple is used instead, it's treated as the upper left
           corner.  If omitted or None, the source is pasted into the
           upper left corner.
 
           If an image is given as the second argument and there is no
           third, the box defaults to (0, 0), and the second argument
           is interpreted as a mask image.
        :param mask: An optional mask image.
        Nz=If using second argument as mask, third argument must be Nonerþr1z,cannot determine region size; use 4-item boxrr    ©Ú
ImageColorr”)rr•r–)r½rwr,r~r r·r«rFr¶r{r.r¹rr1Úpaste)rÖrrØr@rÇr rFÚsources        r%rGz Image.paste·sf€ô\ cœ5Ô !ØÐØUÜ  “oÐ%àˆD؈Cà ˆ;؈Cä ˆs‹8qŠ=ä˜"œeÔ$Ø—w‘w‘ܘD¤%Ô(Ø—y‘y‘ðEÜ  “oÐ%Ø C˜‘F˜T !™WÑ$ c¨!¡f¨t°A©wÑ&6Ð7Ñ 7ˆCô bœ#Ô Ý $à×(Ñ(¨¨T¯Y©YÓ7‰FÜ ˜œEÔ "Ø G‰GŒI؏y‰y˜BŸG™GÒ#Ø—9‘9 Ò%¨¯©Ð8NÑ)NàŸ™ D§I¡IÓ.BØ—U‘U‰FàˆFà ×ÑÔá Ø I‰IŒKØ G‰GM‰M˜& # t§w¡wÕ /à G‰GM‰M˜& #Õ &r$cóÌ—t|ttf«s d}t|«‚t|ttf«s d}t|«‚t    |«dk(r t|«}n4t    |«dk(rt|«|j
z}n d}t|«‚t    |«dk(s d}t|«‚t |«dkr d}t|«‚|d    |j
zk(r|}n|j|«}t|«|d|jz|d
|jzfz}|d    |j
zk(r|}n|j|«}t||«}    |j|    |«y ) a-'In-place' analog of Image.alpha_composite. Composites an image
        onto this image.
 
        :param im: image to composite over this one
        :param dest: Optional 2 tuple (left, top) specifying the upper
          left corner in this (destination) image.
        :param source: Optional 2 (left, top) tuple for the upper left
          corner in the overlay source image, or 4 tuple (left, top, right,
          bottom) for the bounds of the source rectangle
 
        Performance Note: Not currently implemented in-place in the core layer.
        zSource must be a list or tuplez#Destination must be a list or tupler3r1z*Source must be a sequence of length 2 or 4z*Destination must be a sequence of length 2rzSource must be non-negativerþr    N) r½rr¾r,r~r rŸrÙr}r|Úalpha_compositerG)
rÖrÚdestrHrÇÚoverlay_crop_boxÚoverlayrØÚ
backgroundÚresults
          r%rJzImage.alpha_compositesK€ô ˜&¤4¬ -Ô0Ø2ˆCܘS“/Ð !ܘ$¤¤u  Ô.Ø7ˆCܘS“/Ð !ä ˆv‹;˜!Ò Ü$ V›}Ñ Ü ‹[˜AÒ Ü$ V›}¨r¯w©wÑ6Ñ à>ˆCܘS“/Ð !ä4‹y˜AŠ~Ø>ˆCܘS“/Ð !Ü ˆv‹;˜Š?Ø/ˆCܘS“/Ð !ð ˜v¨¯©Ñ/Ò /؉Gà—g‘gÐ.Ó/ˆGôD‹k˜T !™W w§}¡}Ñ4°d¸1±gÀÇÁÑ6NÐOÑOˆð &˜4Ÿ9™9Ñ$Ò $؉JàŸ™ 3›ˆJä  ¨WÓ5ˆØ 
‰
6˜3Õr$cóV—|j«t|t«r|j|«St    |«r~|j
dvr9t |«\}}|j|jj||««Std«Dcgc]
}||«‘Œ c}|jjz}n|}|j
dk(r d}t|«‚|dk7r|Dcgc] }t|«‘Œ}}|j|jj||««Scc}wcc}w)aÇ
        Maps this image through a lookup table or function.
 
        :param lut: A lookup table, containing 256 (or 65536 if
           self.mode=="I" and mode == "L") values per band in the
           image.  A function can be used instead, it should take a
           single argument. The function is called once for each
           possible pixel value, and the resulting table is applied to
           all bands of the image.
 
           It may also be an :py:class:`~PIL.Image.ImagePointHandler`
           object::
 
               class Example(Image.ImagePointHandler):
                 def point(self, im: Image) -> Image:
                   # Return result
        :param mode: Output mode (default is same as input). This can only be used if
           the source image has mode "L" or "P", and the output has mode "1" or the
           source image mode is "I" and the output mode is "L".
        :returns: An :py:class:`~PIL.Image.Image` object.
        )rŠr‹rˆr›rˆz+point operation not supported for this mode)r.r½ÚImagePointHandlerÚpointrçr{rôrrÚpoint_transformr®rr,rÛ)rÖÚlutr{rÔrÕr¥ÚflatLutrÇs        r%rRz Image.pointKsö€ðB         ‰    Œ ä cÔ,Ô -Ø—9‘9˜T“?Ð "ä CŒ=ày‰yÐ.Ñ.ô!0°Ó 4‘ vØ—y‘y §¡×!8Ñ!8¸ÀÓ!GÓHÐHä',¨S£zÖ2 !‘s˜1•vÒ2°T·W±W·]±]ÑB‰GàˆGà 9‰9˜Ò à?ˆCܘS“/Ð !à 3Š;Ø)0Ö1 A”u˜Q•xÐ1ˆGÐ1؏y‰y˜Ÿ™Ÿ™ w°Ó5Ó6Ð6ùò3ùò2s ÂD!Ã"D&có’—|j«|jdvrP    t|j«dz}    |jj    |«|jj|_|jdvrd}nd}t|t«rL|jd    vr d}t |«‚|j«|jd
k(r0|jd «}n    |jj||«y|jj!|j|«y#t
t f$rI}|jj|«}|jdvrd}t |«|‚||_Yd}~Œ"d}~wwxYw#t$r}d}t |«|‚d}~wwxYw#t
t f$rtd |j|«}YŒÉwxYw) aZ
        Adds or replaces the alpha layer in this image.  If the image
        does not have an alpha layer, it's converted to "LA" or "RGBA".
        The new layer must be either "L" or "1".
 
        :param alpha: The new alpha layer.  This can either be an "L" or "1"
           image having the same size as this image, or an integer.
        rªr2z alpha channel could not be addedNúillegal image moder‘r    r2)r†rŽr†rŽ)r1r{rœrÚsetmoderÂr,r¹rr¿r½rwr.Úfillbandrr Úputband)rÖr6r{r¸rrÇrús       r%ÚputalphazImage.putalpha‡s‰€ð     ×ÑÔà 9‰9Ð0Ñ 0ð -Ü" 4§9¡9Ó-°Ñ3ð!Ø—G‘G—O‘O DÔ)ð"ŸW™WŸ\™\”
ð
9‰9˜ Ñ $؉DàˆDä eœUÔ #àz‰z Ñ+Ø*Ü  “oÐ%Ø J‰JŒL؏z‰z˜SÒ ØŸ ™  cÓ*‘ð Ø—‘× Ñ   uÔ-ð
à ‰‰˜Ÿ™ $Õ'øôG'¬
Ð3ò!àŸ™Ÿ™¨Ó.BØ—w‘wÐ&:Ñ:Ø@˜Ü(¨›o°1Ð4Ø D—G’Gûð !ûôò -Ø*Ü  “o¨1Ð,ûð -ûô*#¤JÐ/ò 3ä˜C §¡¨EÓ2’ð 3úsR E>¹D#ÁE>ÃFÄ#E;Ä2>E6Å0E>Å6E;Å;E>Å>    FÆFÆFÆ&GÇGcó^—|j«|jj|||«y)a½
        Copies pixel data from a flattened sequence object into the image. The
        values should start at the upper left corner (0, 0), continue to the
        end of the line, followed directly by the first value of the second
        line, and so on. Data will be read until either the image or the
        sequence ends. The scale and offset values are used to adjust the
        sequence values: **pixel = value*scale + offset**.
 
        :param data: A flattened sequence object. See :ref:`colors` for more
            information about values.
        :param scale: An optional scale value.  The default is 1.0.
        :param offset: An optional offset value.  The default is 0.0.
        N)r1rÚputdata)rÖrfrÔrÕs    r%r]z Image.putdata¾s$€ð(     ×ÑÔà ‰‰˜˜e VÕ,r$có
—ddlm}|jdvr d}t|«‚t    ||j«rY|j
(|j |j
|j«}nS|j|j¬«}d|_n.t    |t«s t|«}|j ||«}d|jvrdnd    |_
||_d|vrd
nd |j_|j«y) a}
        Attaches a palette to this image.  The image must be a "P", "PA", "L"
        or "LA" image.
 
        The palette sequence must contain at most 256 colors, made up of one
        integer value for each channel in the raw mode.
        For example, if the raw mode is "RGB", then it can contain at most 768
        values, made up of red, green and blue values for the corresponding pixel
        index in the 256 colors.
        If the raw mode is "RGBA", then it can contain at most 1024 values,
        containing red, green, blue and alpha values.
 
        Alternatively, an 8-bit string may be used instead of an integer sequence.
 
        :param data: A palette sequence (either a list or a string).
        :param rawmode: The raw mode of the palette. Either "RGB", "RGBA", or a mode
           that can be transformed to "RGB" or "RGBA" (e.g. "R", "BGR;15", "RGBA;L").
        r    rrrrWN©rr2r“r’r•r”) r«rdr{r,r½r“rerr’r³rr.)rÖrfr“rdrÇrs      r%rszImage.putpaletteÖsՀõ.    #à 9‰9Ð2Ñ 2Ø&ˆCܘS“/Ð !Ü d˜L×5Ñ5Ô 6؏|‰|Ð'Ø*˜,×*Ñ*¨4¯<©<¸¿¹ÓF‘à3˜,×3Ñ3¸D¿L¹LÔIØ !• ä˜d¤EÔ*ܘT“{Ø&l×&Ñ& w°Ó5ˆGØ  D§I¡IÑ-‘T°3ˆŒ
؈Œ Ø&)¨W¡n™F¸%ˆ ‰ ÔØ     ‰     r$cóž—|j«|jdvr”t|ttf«r~t |«dvrq|jdk(rt |«dk(r|dnd}|dd}|j €J‚|j jt    |«|«}|jdk(r|fn|}|jj||«S)aý
        Modifies the pixel at the given position. The color is given as
        a single numerical value for single-band images, and a tuple for
        multi-band images. In addition to this, RGB and RGBA tuples are
        accepted for P and PA images. See :ref:`colors` for more information.
 
        Note that this method is relatively slow.  For more extensive changes,
        use :py:meth:`~PIL.Image.Image.paste` or the :py:mod:`~PIL.ImageDraw`
        module instead.
 
        See:
 
        * :py:meth:`~PIL.Image.Image.paste`
        * :py:meth:`~PIL.Image.Image.putdata`
        * :py:mod:`~PIL.ImageDraw`
 
        :param xy: The pixel coordinate, given as (x, y). See
           :ref:`coordinate-system`.
        :param value: The pixel value.
        r)r2r3r“r3r2ržN)
r1r{r½rr¾r~rr¶rr¸)rÖr9r¡r6Ú palette_indexs     r%r¸zImage.putpixels¾€ð0     ×ÑÔð I‰I˜Ñ $ܘ5¤4¬ -Ô0ܐE“
˜fÑ$ðy‰y˜DÒ Ü$'¨£J°!¢O˜˜aš¸Ø˜b˜q˜    Ø—<‘<Ð+Ð +Ð+Ø ŸL™L×1Ñ1´%¸³,ÀÓEˆMØ.2¯i©i¸4Ò.?] EÑ*À]ˆE؏w‰w×Ñ  EÓ*Ð*r$cóþ—ddlm}|jdvr d}t|«‚d}d}|€y|jdk(rN|j    «|j
j «}|dk(rd    }|j
j||«}n.td
„td «D««}nt|«d kDrd    }d}d }d gdz}t|«D]\}    }
|||
|z|
|z|zz }|    ||
<Œt|«} |j«} d| _ |j|| |z¬«| _| j
j||dz| jj!««| j#d«} | j||«|j||¬«| _d|j$vr.    |j'|j$d«| j$d<| S| S#t$rd| j$vr | j$d=Y| SwxYw)ae
        Rewrites the image to reorder the palette.
 
        :param dest_map: A list of indexes into the original palette.
           e.g. ``[1,0]`` would swap a two item palette, and ``list(range(256))``
           is the identity transform.
        :param source_palette: Bytes or None.
        :returns:  An :py:class:`~PIL.Image.Image` object.
 
        r    r)rŽr’rWr2r”r’r•r3c3ó&K—|]    }|dz–—Œ y­w)r2Nr#©r¤r¥s  r%r§z&Image.remap_palette.<locals>.<genexpr>Fsèø€Ò*F°a¨1°­6Ñ*Fùs‚ir$rr›r_z;LrŽr)r«rdr{r,r.rrÑrCÚ    bytearrayr®r~r5rrrrsrDr¹rÚindex) rÖÚdest_mapÚsource_paletterdrÇrÚ palette_modeÚ palette_bytesÚ new_positionsr¥Ú oldPositionÚmapping_paletteÚm_ims              r%Ú remap_palettezImage.remap_palette)s€õ    #à 9‰9˜JÑ &Ø&ˆCܘS“/Ð !àˆØˆ Ø Ð !؏y‰y˜CÒØ—    ‘    ” Ø#Ÿw™w×5Ñ5Ó7 Ø 6Ò)ؐEØ!%§¡×!3Ñ!3°LÀ,Ó!O‘ä!*Ñ*F¼5À»:Ô*FÓ!F‘Ü Ó   3Ò &؈EØ!ˆLàˆ Ø˜˜c™    ˆ ô(¨Ó1ò    +‰NˆAˆ{Ø ˜^ؘeÑ# k°EÑ&9¸EÑ&Aðñ ˆMð*+ˆM˜+Ò &ð        +ô0$ MÓ2ˆày‰y‹{ˆØˆŒ
à0|×0Ñ0Ø  /°EÑ"9ô
ˆŒ ð     ‰×ј<¨¸Ñ)<¸d¿l¹l×>RÑ>RÓ>TÔUà|‰|˜CÓ ˆà ‰˜  |Ô4Ø0|×0Ñ0°À}ÔUˆŒ à ˜TŸY™YÑ &ð 2Ø,4¯N©N¸4¿9¹9À^Ñ;TÓ,U—    ‘    ˜.Ñ)ð
ˆ ˆtˆ øô    ò 2Ø! T§Y¡YÑ.ØŸ    ™     .Ð1øàˆ ð     2úsÆ%+GÇ$G<Ç;G<c
ó¢—t|dz
}|d|dz
|dz }|d|dz
|dz }||z}||z}tdt|d|z
««tdt|d|z
««t|jdt j |d|z««t|jdt j |d|z««fS)z€Expands the box so it includes adjacent pixels
        that may be used by resampling with the given resampling filter.
        rLr1rr2r    )Ú_filters_supportryr”rŸr ÚmathÚceil)    rÖr ÚresamplerØÚfilter_supportÚscale_xÚscale_yÚ    support_xÚ    support_ys             r%Ú _get_safe_boxzImage._get_safe_boxƒs߀ô*¨(Ñ3°cÑ9ˆØq‘6˜C ™F‘? d¨1¡gÑ-ˆØq‘6˜C ™F‘? d¨1¡gÑ-ˆØ" WÑ,ˆ    Ø" WÑ,ˆ    ô ”3s˜1‘v     Ñ)Ó*Ó +Ü ”3s˜1‘v     Ñ)Ó*Ó +Ü —    ‘    ˜!‘ œdŸi™i¨¨A©°Ñ(:Ó;Ó <Ü —    ‘    ˜!‘ œdŸi™i¨¨A©°Ñ(:Ó;Ó <ð    
ð    
r$có¢—|€tj}n|tjtjtjtjtj
tj fvr²d|›d}tjdftjdftjdftjdftj
dftj d    ffDcgc]}|d
›d |d ›d ‘Œ}}|ddj|dd«›d|d›z }t|«‚||dkr d}t|«‚|€d|jz}t|«}|j|k(r"|d|jzk(r|j«S|jdvrtj}|jdvrb|tjk7rO|jdddœ|j«}|j|||«}|j|j«S|j«|ú|tjk7rçt!|d|d z
|d z |z «xsd
}    t!|d|d
z
|d
z |z «xsd
}
|    d
kDs|
d
kDr›|j#|t%t|«|«} |    |
f} t'|j(«r|j)| | ¬«nt*j)|| | ¬«}|d | d z
|    z |d
| d
z
|
z |d| d z
|    z |d| d
z
|
z f}|j-|j.j|||««Scc}w)aÃ
        Returns a resized copy of this image.
 
        :param size: The requested size in pixels, as a tuple or array:
           (width, height).
        :param resample: An optional resampling filter.  This can be
           one of :py:data:`Resampling.NEAREST`, :py:data:`Resampling.BOX`,
           :py:data:`Resampling.BILINEAR`, :py:data:`Resampling.HAMMING`,
           :py:data:`Resampling.BICUBIC` or :py:data:`Resampling.LANCZOS`.
           If the image has mode "1" or "P", it is always set to
           :py:data:`Resampling.NEAREST`. Otherwise, the default filter is
           :py:data:`Resampling.BICUBIC`. See: :ref:`concept-filters`.
        :param box: An optional 4-tuple of floats providing
           the source image region to be scaled.
           The values must be within (0, 0, width, height) rectangle.
           If omitted or None, the entire source is used.
        :param reducing_gap: Apply optimization by resizing the image
           in two steps. First, reducing the image by integer times
           using :py:meth:`~PIL.Image.Image.reduce`.
           Second, resizing using regular resampling. The last step
           changes size no less than by ``reducing_gap`` times.
           ``reducing_gap`` may be None (no first step is performed)
           or should be greater than 1.0. The bigger ``reducing_gap``,
           the closer the result to the fair resampling.
           The smaller ``reducing_gap``, the faster resizing.
           With ``reducing_gap`` greater or equal to 3.0, the result is
           indistinguishable from fair resampling in most cases.
           The default value is None (no optimization).
        :returns: An :py:class:`~PIL.Image.Image` object.
        NúUnknown resampling filter (ú).úImage.Resampling.NEARESTúImage.Resampling.LANCZOSúImage.Resampling.BILINEARúImage.Resampling.BICUBICúImage.Resampling.BOXúImage.Resampling.HAMMINGr    ú (rú)ú Use ú, éÿÿÿÿú or rMz#reducing_gap must be 1.0 or greaterrþ©r†r’r¨rr–r1r2)rØ)rErJrFrHrKrGrIr~r,r r¾rr{r¹Úresizer.r”rzrrçÚreducerwrr) rÖr rtrØÚ reducing_gaprÇræÚfiltersrÚfactor_xÚfactor_yÚ
reduce_boxÚfactors              r%r‹z Image.resize™sZ€ðL Ð Ü!×)Ñ)ŠHØ Ü × Ñ Ü × Ñ Ü × Ñ Ü × Ñ Ü N‰NÜ × Ñ ð 
ñ
ð0°¨z¸Ð<ˆCô
 ×'Ñ'Ð)CÐDÜ×'Ñ'Ð)CÐDÜ×(Ñ(Ð*EÐFÜ×'Ñ'Ð)CÐDÜ—^‘^Ð%;Ð<Ü×'Ñ'Ð)CÐDð ö
àð˜!‘9+˜R  q¡    ˜{¨!Ò,ð
ˆGð
ð U˜4Ÿ9™9 W¨S¨b \Ó2Ð3°4¸À¹ °}ÐEÑ EˆCܘS“/Ð !à Ð #¨ °sÒ(:Ø7ˆCܘS“/Ð !à ˆ;ؘ4Ÿ9™9Ñ$ˆCäT‹{ˆØ 9‰9˜Ò  ¨°·±Ñ(:Ò!:Ø—9‘9“;Ð à 9‰9˜
Ñ "Ü!×)Ñ)ˆHà 9‰9˜Ñ &¨8´z×7IÑ7IÒ+IØ—‘ T°6Ñ:¸4¿9¹9ÑEÓFˆBØ—‘˜4 ¨3Ó/ˆBØ—:‘:˜dŸi™iÓ(Ð (à     ‰    Œ à Ð #¨´J×4FÑ4FÒ(FܘC ™F S¨¡V™O¨t°A©wÑ6¸ÑEÓFÒKÈ!ˆHܘC ™F S¨¡V™O¨t°A©wÑ6¸ÑEÓFÒKÈ!ˆHؘ!Š|˜x¨!š|Ø!×/Ñ/°´d¼:ÀxÓ6PÐRUÓV
Ø" HÐ-ô  § ¡ Ô,ð—K‘K ¨JKÔ7䟙 d¨F¸
˜ÓCð𠘑V˜j¨™mÑ+¨xÑ7ؘ‘V˜j¨™mÑ+¨xÑ7ؘ‘V˜j¨™mÑ+¨xÑ7ؘ‘V˜j¨™mÑ+¨xÑ7ð    ðy‰y˜Ÿ™Ÿ™¨¨h¸Ó<Ó=Ð=ùòk
sÃ#M cóÔ—t|ttf«s||f}|€d|jz}|dk(r"|d|jzk(r|j    «S|j
dvrN|j dddœ|j
«}|j||«}|j |j
«S|j«|j|jj||««S)a!
        Returns a copy of the image reduced ``factor`` times.
        If the size of the image is not dividable by ``factor``,
        the resulting size will be rounded up.
 
        :param factor: A greater than 0 integer or tuple of two integers
           for width and height separately.
        :param box: An optional 4-tuple of ints providing
           the source image region to be reduced.
           The values must be within ``(0, 0, width, height)`` rectangle.
           If omitted or ``None``, the entire source is used.
        rþr©r¨rr–) r½rr¾r rr{r¹rŒr.rr)rÖr’rØrs    r%rŒz Image.reduce    sŀô"˜&¤4¬ -Ô0ؘfÐ%ˆFà ˆ;ؘ4Ÿ9™9Ñ$ˆCà VÒ   v°·    ±    Ñ'9Ò 9Ø—9‘9“;Ð à 9‰9˜Ñ &Ø—‘ T°6Ñ:¸4¿9¹9ÑEÓFˆBØ—‘˜6 3Ó'ˆBØ—:‘:˜dŸi™iÓ(Ð (à     ‰    Œ ày‰y˜Ÿ™Ÿ™¨°Ó4Ó5Ð5r$Fc    óP—|dz}|s’|s|dk(r|j«S|dk(r|jtj«S|dvrS|s|j|j
k(r8|j|dk(rtj «Stj«S|j\}}|€d}    n|}    |€
|dz |dz f}tj|« }ttj|«d«ttj|«d«d    ttj|« d«ttj|«d«d    g}
dd
„} | |d |    dz
|d  |    d z
|
«\|
d<|
d <|
dxx|dz cc<|
d xx|d z cc<|ræg} g} d|df||fd|ffD]4\}}| |||
«\}}| j|«| j|«Œ6tjt!| ««tj"t%| ««z
}tjt!| ««tj"t%| ««z
}| ||z
d z ||z
d z |
«\|
d<|
d <||}}|j'||ft(j*|
||¬«S)a
        Returns a rotated copy of this image.  This method returns a
        copy of this image, rotated the given number of degrees counter
        clockwise around its centre.
 
        :param angle: In degrees counter clockwise.
        :param resample: An optional resampling filter.  This can be
           one of :py:data:`Resampling.NEAREST` (use nearest neighbour),
           :py:data:`Resampling.BILINEAR` (linear interpolation in a 2x2
           environment), or :py:data:`Resampling.BICUBIC` (cubic spline
           interpolation in a 4x4 environment). If omitted, or if the image has
           mode "1" or "P", it is set to :py:data:`Resampling.NEAREST`.
           See :ref:`concept-filters`.
        :param expand: Optional expansion flag.  If true, expands the output
           image to make it large enough to hold the entire rotated image.
           If false or omitted, make the output image the same size as the
           input image.  Note that the expand flag assumes rotation around
           the center and no translation.
        :param center: Optional center of rotation (a 2-tuple).  Origin is
           the upper left corner.  Default is the center of the image.
        :param translate: An optional post-rotate translation (a 2-tuple).
        :param fillcolor: An optional color for area outside the rotated image.
        :returns: An :py:class:`~PIL.Image.Image` object.
        g€v@ré´)éZir–rþr1éçcóL—|\}}}}}}||z||zz|z||z||zz|zfSrÓr#)    rIr<r¦rórYrìrr¸r=s             r%rÎzImage.rotate.<locals>.transformz    sA€Ø!'Ñ ˆQ1a˜˜Aؐq‘5˜1˜q™5‘= 1Ñ$ a¨!¡e¨a°!©e¡m°aÑ&7Ð7Ð 7r$r    r4rN)Ú    fillcolor)rIrêr<rêr¦z list[float]rëútuple[float, float])rÚ    transposer0r9r}r|r8r:r rrÚradiansrÛÚcosÚsinr|rsryÚfloorrŸrÎr>r?)rÖÚanglertÚexpandÚcenterÚ    translateršÚwr÷Ú
post_transr¦rÎÚxxÚyyrIr<Ú transformed_xÚ transformed_yÚnwÚnhs                    r%Úrotatez Image.rotate%    s¦€ðD˜‘ ˆñ™)ؘŠzØ—y‘y“{Ð"ؘŠ|Ø—~‘~¤i×&:Ñ&:Ó;Ð;ؘ    Ñ!¡v°·±¸t¿{¹{Ò1JØ—~‘~Ø+0°Bª;”I×'Ñ'óðÜ<E×<PÑ<Póðð,y‰y‰ˆˆ1à Р؉Jà"ˆJØ ˆ>ؘ!‘e˜Q ™U^ˆFä—‘˜eÓ$Ð$ˆä ”$—(‘(˜5“/ 2Ó &Ü ”$—(‘(˜5“/ 2Ó &Ø Ü ”4—8‘8˜E“?Ð" BÓ 'Ü ”$—(‘(˜5“/ 2Ó &Ø ð 
ˆó    8ñ )Ø A‰YˆJ˜ A™Ñ &¨°©¨
°ZÀ±]Ñ(BÀFó 
шˆq‰    6˜!‘9ð    ˆq‹    V˜A‘YÑ‹    Øˆq‹    V˜A‘YÑ‹    á àˆB؈BØ ! Q ¨!¨Q¨°!°Q°Ð8ò )‘1Ù/8¸¸A¸vÓ/FÑ, ˜}Ø—    ‘    ˜-Ô(Ø—    ‘    ˜-Õ(ð )ô—‘œ3˜r›7Ó#¤d§j¡j´°R³Ó&9Ñ9ˆBÜ—‘œ3˜r›7Ó#¤d§j¡j´°R³Ó&9Ñ9ˆBñ
$-¨r°A©v¨Y¸©_ÀÀQÁ¸iÈ#¹oÈvÓ#VÑ  ˆF1‰Iv˜a‘yؐrˆqˆAà~‰~Ø ˆF”I×$Ñ$ f¨hÀ)ðó
ð    
r$c óð—d}d}t|«rtj|«}d}n.|tjk(r    tjj
}|s@t|d«r4t|j«rtj|j«}t«tjj|«dj«}t|t«r|j«n|}|s|t vr
t#«    t |}ddlm}
t||
j*«rZtjj-|«tjj-|j.«k(r|j1«n|j3«|j5d    d«} ||_t9|d
i«} |j;|«d |_|j?«t@vr
t#«| s)| €?|jCd «r.|j?«tDvrtD|j?«} nt@|j?«} d}|r`tjjG|« }|jCd d«rtIjJ|d«}n.tIjJ|d«}ntMtNt|«}    | |||«    | |_,|r|jS«yy#t $rYŒ¨wxYw#t$$r}d|›}    t'|    «|‚d}~wwxYw#tP$r<|r|jS«|r&    tjT|«‚#tV$rY‚wxYw‚wxYw#| |_,wxYw)aþ
        Saves this image under the given filename.  If no format is
        specified, the format to use is determined from the filename
        extension, if possible.
 
        Keyword options can be used to provide additional instructions
        to the writer. If a writer doesn't recognise an option, it is
        silently ignored. The available options are described in the
        :doc:`image format documentation
        <../handbook/image-file-formats>` for each writer.
 
        You can use a file object instead of a filename. In this case,
        you must always specify the format. The file object must
        implement the ``seek``, ``tell``, and ``write``
        methods, and be opened in binary mode.
 
        :param fp: A filename (string), os.PathLike object or file object.
        :param format: Optional format override.  If omitted, the
           format to use is determined from the filename extension.
           If a file object was used instead of a filename, this
           parameter should always be used.
        :param params: Extra parameters to the image writer. These can also be
           set on the image itself through ``encoderinfo``. This is useful when
           saving multiple images::
 
             # Saving XMP data to a single image
             from PIL import Image
             red = Image.new("RGB", (1, 1), "#f00")
             red.save("out.mpo", xmp=b"test")
 
             # Saving XMP data to the second frame of an image
             from PIL import Image
             black = Image.new("RGB", (1, 1))
             red = Image.new("RGB", (1, 1), "#f00")
             red.encoderinfo = {"xmp": b"test"}
             black.save("out.mpo", save_all=True, append_images=[red])
        :returns: None
        :exception ValueError: If the output format could not be determined
           from the file name.  Use the format option to solve this.
        :exception OSError: If the file could not be written.  The file
           may have been created, and may contain partial data.
        r«FTrˆr    zunknown file extension: NrÚsave_allÚ encoderinfor#Ú append_imagesr|zr+bzw+b)-rr6Úfspathr(ÚstdoutÚbufferrÂr*rˆr­ÚpathÚsplitextÚlowerr½r³r‹rqr¹r¿r,r«rbÚabspathr>r1r.ÚpopÚ_default_encoderinforÀÚ_attach_default_encoderinfoÚ encoderconfigÚupperrorrpÚexistsÚbuiltinsÚopenrrrUr+ÚremoveÚPermissionErrorr°)rÖr"rûÚparamsr>Úopen_fpÚ filename_extÚextr¸rÇrbr¯r°Ú save_handlerÚcreateds               r%r9z
Image.save™    sÞ€ð\!#ˆØˆÜ 2Œ;Ü—y‘y “}ˆH؉GØ ”3—:‘:Ò ð Ü—Z‘Z×&Ñ&ñœG B¨Ô/´G¸B¿G¹GÔ4Dä—y‘y §¡Ó)ˆH䌠   ä—w‘w×'Ñ'¨Ó1°!Ñ4×:Ñ:Ó<ˆ Ü'1°,ÄÔ'Fˆl×!Ñ!Ô#ÈLˆáØœ)Ñ#Ü”ð -Ü" 3™õ
     ô d˜I×/Ñ/Ô 0´R·W±W·_±_Ø ó6
ä W‰W_‰_˜TŸ]™]Ó +ò6,ð ×  Ñ  Õ "à I‰IŒKà—:‘:˜j¨$Ó/ˆØ$*ˆÔ!ܘd M°2Ó6ˆ Ø ×(Ñ(¨Ô.Ø.0ˆÔà <‰<‹>¤Ñ %Ü ŒFÙ Ø Ð Ø—
‘
˜?Ô+Ø— ‘ “¤(Ñ*ä# F§L¡L£NÑ3‰Lä § ¡ £Ñ/ˆLàˆÙ ÜŸ'™'Ÿ.™.¨Ó2Ð2ˆG؏z‰z˜( EÔ*ô—]‘] 8¨UÓ3‘ä—]‘] 8¨UÓ3‘ä”bœ‘i Ó$ˆBð     +Ù ˜˜r 8Õ ,ð +ˆDÔ Ù Ø H‰HJð øôQ"ò Úð ûô ò -Ø0°°Ð6Ü  “o¨1Ð,ûð -ûôZò    ÙØ—‘”
ÙðÜ—I‘I˜hÔ'ð øô'òØØ ðúà ð    ûð +ˆDÕ úse¼K2Ä        LË
L$Ë2    K?Ë>K?Ì    L!Ì LÌL!Ì$M)ÍMÍM)Í    M$Í!M)Í#M$Í$M)Í)M,Í,    M5cóJ—t|di«}i|j¥|¥|_|S)Nr°)rÀrºr°)rÖrr°s   r%r»z!Image._attach_default_encoderinfo
s.€Ü˜d M°2Ó6ˆ ØE˜b×5Ñ5ÐE¸ÐEˆÔØÐr$có(—|dk7r d}t|«‚y)a0
        Seeks to the given frame in this sequence file. If you seek
        beyond the end of the sequence, the method raises an
        ``EOFError`` exception. When a sequence file is opened, the
        library automatically seeks to frame 0.
 
        See :py:meth:`~PIL.Image.Image.tell`.
 
        If defined, :attr:`~PIL.Image.Image.n_frames` refers to the
        number of available frames.
 
        :param frame: Frame number, starting at 0.
        :exception EOFError: If the call attempts to seek beyond the end
            of the sequence.
        rzno more images in fileN)ÚEOFError)rÖÚframerÇs   r%Úseekz
Image.seek
s€ð$ AŠ:Ø*ˆCܘ3“-Ð ð r$có4—ddlm}|j||«y)aï
        Displays this image. This method is mainly intended for debugging purposes.
 
        This method calls :py:func:`PIL.ImageShow.show` internally. You can use
        :py:func:`PIL.ImageShow.register` to override its default behaviour.
 
        The image is first saved to a temporary file. By default, it will be in
        PNG format.
 
        On Unix, the image is then opened using the **xdg-open**, **display**,
        **gm**, **eog** or **xv** utility, depending on which one can be found.
 
        On macOS, the image is opened with the native Preview application.
 
        On Windows, the image is opened with the standard PNG display utility.
 
        :param title: Optional title to use for the image window, where possible.
        r    ©Ú    ImageShowN)r«rÐÚshow)rÖÚtitlerÐs   r%rÑz
Image.show5
s€õ(     à‰t˜UÕ#r$cóä—|j«|jjdk(r|j«fSt    t |j |jj«««S)aÏ
        Split this image into individual bands. This method returns a
        tuple of individual image bands from an image. For example,
        splitting an "RGB" image creates three new images each
        containing a copy of one of the original bands (red, green,
        blue).
 
        If you need only one band, :py:meth:`~PIL.Image.Image.getchannel`
        method can be more convenient and faster.
 
        :returns: A tuple containing bands.
        r    )r.rrrr¾r%rr°rÙs r%r°z Image.splitM
sK€ð         ‰    Œ Ø 7‰7=‰=˜AÒ Ø—I‘I“K>Ð !Ü”S˜Ÿ™ D§G¡G§M¡M£OÓ4Ó5Ð5r$có—|j«t|t«r     |j«j    |«}|j |jj|««S#t
$r}d|›d}t |«|‚d}~wwxYw)a@
        Returns an image containing a single channel of the source image.
 
        :param channel: What channel to return. Could be index
          (0 for "R" channel of "RGB") or channel name
          ("A" for alpha channel of "RGBA").
        :returns: An image in "L" mode.
 
        .. versionadded:: 4.3.0
        zThe image has no channel "ú"N)    r.r½r·rïrfr,rrrê)rÖÚchannelr¸rÇs    r%Ú
getchannelzImage.getchannel`
s|€ð         ‰    Œ ä gœsÔ #ð -ØŸ-™-›/×/Ñ/°Ó8ð
y‰y˜Ÿ™Ÿ™¨Ó1Ó2Ð2øô    ò -Ø2°7°)¸1Ð=Ü  “o¨1Ð,ûð -ús¢A+Á+    B Á4BÂB có—y)zô
        Returns the current frame number. See :py:meth:`~PIL.Image.Image.seek`.
 
        If defined, :attr:`~PIL.Image.Image.n_frames` refers to the
        number of available frames.
 
        :returns: Frame number, starting with 0.
        rr#rÙs r%Útellz
Image.tellv
s€ðr$rNc󪇇
—tttj|««Š
dˆ
ˆfd„ }|«}|€y|}d}|9‰j    dt |d|z«t |d|z«f«}||d}‰j |k7rH‰j||||¬«}    |    j‰_|‰_    ‰jj‰_ d‰_ y)an
        Make this image into a thumbnail.  This method modifies the
        image to contain a thumbnail version of itself, no larger than
        the given size.  This method calculates an appropriate thumbnail
        size to preserve the aspect of the image, calls the
        :py:meth:`~PIL.Image.Image.draft` method to configure the file reader
        (where applicable), and finally resizes the image.
 
        Note that this function modifies the :py:class:`~PIL.Image.Image`
        object in place.  If you need to use the full resolution image as well,
        apply this method to a :py:meth:`~PIL.Image.Image.copy` of the original
        image.
 
        :param size: The requested size in pixels, as a 2-tuple:
           (width, height).
        :param resample: Optional resampling filter.  This can be one
           of :py:data:`Resampling.NEAREST`, :py:data:`Resampling.BOX`,
           :py:data:`Resampling.BILINEAR`, :py:data:`Resampling.HAMMING`,
           :py:data:`Resampling.BICUBIC` or :py:data:`Resampling.LANCZOS`.
           If omitted, it defaults to :py:data:`Resampling.BICUBIC`.
           (was :py:data:`Resampling.NEAREST` prior to version 2.5.0).
           See: :ref:`concept-filters`.
        :param reducing_gap: Apply optimization by resizing the image
           in two steps. First, reducing the image by integer times
           using :py:meth:`~PIL.Image.Image.reduce` or
           :py:meth:`~PIL.Image.Image.draft` for JPEG images.
           Second, resizing using regular resampling. The last step
           changes size no less than by ``reducing_gap`` times.
           ``reducing_gap`` may be None (no first step is performed)
           or should be greater than 1.0. The bigger ``reducing_gap``,
           the closer the result to the fair resampling.
           The smaller ``reducing_gap``, the faster resizing.
           With ``reducing_gap`` greater or equal to 3.0, the result is
           indistinguishable from fair resampling in most cases.
           The default value is 2.0 (very close to fair resampling
           while still being faster in many cases).
        :returns: None
        có𕇇‡—dd„}‰\ŠŠ‰‰jk\r‰‰jk\ry‰j‰jz Љ‰z ‰k\r|‰‰zˆˆfd„¬«Š‰‰fS|‰‰z ˆˆfd„¬«Š‰‰fS)Ncó~—tttj|«tj|«|¬«d«S)N©Úkeyr    )ryrŸrrr rs)ÚnumberrÞs  r%Ú round_aspectzDImage.thumbnail.<locals>.preserve_aspect_ratio.<locals>.round_aspect±
s+€Üœ3œtŸz™z¨&Ó1´4·9±9¸VÓ3DÈ#ÔNÐPQÓRÐRr$có&•—t‰|‰z z
«SrÓ©rÜ)ÚnÚaspectr<s €€r%ú<lambda>z@Image.thumbnail.<locals>.preserve_aspect_ratio.<locals>.<lambda>º
sø€¼3¸vÈÈAɹ~Ó;N€r$rÝcó4•—|dk(rdSt‰‰|z z
«Sr râ)rãrärIs €€r%råz@Image.thumbnail.<locals>.preserve_aspect_ratio.<locals>.<lambda>½
sø€°1¸²6¨a€¼sÀ6ÈAÐPQÉEÁ>Ó?R€r$)rßrêrÞúCallable[[int], float]rër”)r}r|)ràrärIr<Ú provided_sizerÖs @@@€€r%Úpreserve_aspect_ratioz.Image.thumbnail.<locals>.preserve_aspect_ratio°
s‡û€ó Sð!‰DˆAˆqؐD—J‘JŠ 1¨¯ © Ò#3Øà—Z‘Z $§+¡+Ñ-ˆFؐ1‰u˜ŠÙ   V¡Ô1NÔOð
a4ˆKñ!ؘ‘JÔ$Rôða4ˆKr$Nrr    )rØr)rëútuple[int, int] | None) r¾r%rrr rär”r r‹rrr{rr) rÖr rtrréÚpreserved_sizeÚ
final_sizerØÚresrrès `         @r%Ú    thumbnailzImage.thumbnail
sÑù€ôZœc¤$§*¡*¨dÓ3Ó4ˆ ö    ñ"/Ó0ˆØ Ð !Ø Ø#ˆ
àˆØ Ð #Ø—*‘*Ø”s˜4 ™7 \Ñ1Ó2´C¸¸Q¹À,Ñ8NÓ4OÐPóˆCðˆØ˜!‘fà 9‰9˜
Ò "Ø—‘˜Z¨°sȐÓVˆBà—e‘eˆDŒGØ#ˆDŒJØŸ™Ÿ™ˆDŒJàˆ r$r    c
ó*—|jdvra|tjk7rN|jdddœ|j«j    ||||||«j|j«St |t «r|j    ||||¬«St|d«r|j«\}}|€ d}t|«‚t|j||«}|jdk(r+|jr|jj«|_ |jj«|_ |tjk(r2|D]+\}    }
|j!|    |tj"|
||du«Œ-|S|j!d    |z|||||du«|S)
ar    
        Transforms this image.  This method creates a new image with the
        given size, and the same mode as the original, and copies data
        to the new image using the given transform.
 
        :param size: The output size in pixels, as a 2-tuple:
           (width, height).
        :param method: The transformation method.  This is one of
          :py:data:`Transform.EXTENT` (cut out a rectangular subregion),
          :py:data:`Transform.AFFINE` (affine transform),
          :py:data:`Transform.PERSPECTIVE` (perspective transform),
          :py:data:`Transform.QUAD` (map a quadrilateral to a rectangle), or
          :py:data:`Transform.MESH` (map a number of source quadrilaterals
          in one operation).
 
          It may also be an :py:class:`~PIL.Image.ImageTransformHandler`
          object::
 
            class Example(Image.ImageTransformHandler):
                def transform(self, size, data, resample, fill=1):
                    # Return result
 
          Implementations of :py:class:`~PIL.Image.ImageTransformHandler`
          for some of the :py:class:`Transform` methods are provided
          in :py:mod:`~PIL.ImageTransform`.
 
          It may also be an object with a ``method.getdata`` method
          that returns a tuple supplying new ``method`` and ``data`` values::
 
            class Example:
                def getdata(self):
                    method = Image.Transform.EXTENT
                    data = (0, 0, 100, 100)
                    return method, data
        :param data: Extra data to the transformation method.
        :param resample: Optional resampling filter.  It can be one of
           :py:data:`Resampling.NEAREST` (use nearest neighbour),
           :py:data:`Resampling.BILINEAR` (linear interpolation in a 2x2
           environment), or :py:data:`Resampling.BICUBIC` (cubic spline
           interpolation in a 4x4 environment). If omitted, or if the image
           has mode "1" or "P", it is set to :py:data:`Resampling.NEAREST`.
           See: :ref:`concept-filters`.
        :param fill: If ``method`` is an
          :py:class:`~PIL.Image.ImageTransformHandler` object, this is one of
          the arguments passed to it. Otherwise, it is unused.
        :param fillcolor: Optional fill color for the area outside the
           transform in the output image.
        :returns: An :py:class:`~PIL.Image.Image` object.
        r¨rr–)rtÚfillrøNzmissing method datar’rþ)r{rErFr¹rÎr½ÚImageTransformHandlerr*rør,rrrrr>rCÚ_Image__transformerrB) rÖr rÒrfrtrðršrÇrrØÚquads            r%rÎzImage.transformÙ
su€ðv 9‰9˜Ñ &¨8´z×7IÑ7IÒ+Ià— ‘  D°&Ñ9¸$¿)¹)ÑDÓEß‘˜4 ¨¨x¸¸yÓIß‘˜Ÿ™Ó#ð ô fÔ3Ô 4Ø×#Ñ# D¨$¸ÈÐ#ÓMÐ Mä 6˜9Ô %à!Ÿ>™>Ó+‰LˆFDà ˆ<Ø'ˆCܘS“/Ð !ä —‘˜D )Ó ,ˆØ 9‰9˜Ò  § ¢ ØŸ™×*Ñ*Ó,ˆBŒJØ—)‘)—.‘.Ó"ˆŒØ ”Y—^‘^Ò #à!ò ‘    TØ× Ñ Ø˜œyŸ~™~¨t°X¸yÈDÐ?Põð ðˆ    ð     × Ñ Ø˜‘ ˜t V¨T°8¸YÈ$Ð=Nô ðˆ    r$c
óx—|d|dz
}|d|dz
}|tjk(r|dd}nþ|tjk(r0|\}    }
} } | |    z
|z } | |
z
|z }tj}| d|    d||
f}n»|tjk(r|dd}n¢|tjk(r‚|dd}|dd}|dd}|dd}|\}    }
d|z }d|z }|    |d|    z
|z|d|    z
|z|d|dz
|dz
|    z|z|z|
|d|
z
|z|d|
z
|z|d|dz
|dz
|
z|z|zf}n d    }t |«‚|t jt jt jfvrï|t jt jt jfvr?t jd
t jd t jd i}||d |›dz}nd|›d}t jdft jdft jdffDcgc]}|d›d |d›d‘Œ}}|ddj|dd«›d|d›z }t |«‚|j«|j«|jdvrt j}|j j#||j ||||«ycc}w)Nr1rr2r    r5ér3rMzunknown transformation methodr‚rƒrr„z) cannot be used.r|r}r~r€rr…r†r‡rˆr‰rŠ)r>r?r@rArBr,rErFrHrJrGrIrKr~r.r{rrÎ)rÖrØÚimagerÒrfrtrðr¥r÷rÞrßràráÚxsÚysr«ÚswÚseÚneÚAsÚAtrÇÚunusablerærŽs                         r%Ú __transformerzImage.__transformer7 s.€ð ‰FS˜‘V‰OˆØ ‰FS˜‘V‰Oˆà ”Y×%Ñ%Ò %ؘ˜8‰Dà ”y×'Ñ'Ò 'à!‰NˆBB˜Ør‘'˜Q‘ˆBؐr‘'˜Q‘ˆBÜ×%Ñ%ˆFؘ˜2˜q " bÐ)‰Dà ”y×,Ñ,Ò ,ؘ˜8‰Dà ”y—~‘~Ò %ðbqˆBؐa˜ˆBؐa˜ˆBؐa˜ˆB؉FˆBØq‘ˆBؐq‘ˆBàØA‘˜‘˜rÑ!ؐA‘˜‘˜rÑ!ؐA‘˜˜A™‘  A¡Ñ&¨Ñ+¨rÑ1°BÑ6ØØA‘˜‘˜rÑ!ؐA‘˜‘˜rÑ!ؐA‘˜˜A™‘  A¡Ñ&¨Ñ+¨rÑ1°BÑ6ð    ‰Dð2ˆCܘS“/Ð !à Ü × Ñ Ü × Ñ Ü × Ñ ð
ñ
ð
œJŸN™N¬J×,>Ñ,>Ä
×@RÑ@RÐSÑSä—N‘NÐ$:Ü×&Ñ&Ð(BÜ×&Ñ&Ð(Bð,ð
˜xÑ(¨R°¨zÐ9JÐ+KÑK‘à3°H°:¸RÐ@ô
 ×'Ñ'Ð)CÐDÜ×(Ñ(Ð*EÐFÜ×'Ñ'Ð)CÐDðöàð˜!‘9+˜R  q¡    ˜{¨!Ò,ðˆGðð U˜4Ÿ9™9 W¨S¨b \Ó2Ð3°4¸À¹ °}ÐEÑ EˆCܘS“/Ð !à 
‰
Œ à     ‰    Œ à :‰:˜Ñ #Ü!×)Ñ)ˆHà ‰×ј#˜uŸx™x¨°°xÀÕFùò%sÈ J7cóv—|j«|j|jj|««S)a¶
        Transpose image (flip or rotate in 90 degree steps)
 
        :param method: One of :py:data:`Transpose.FLIP_LEFT_RIGHT`,
          :py:data:`Transpose.FLIP_TOP_BOTTOM`, :py:data:`Transpose.ROTATE_90`,
          :py:data:`Transpose.ROTATE_180`, :py:data:`Transpose.ROTATE_270`,
          :py:data:`Transpose.TRANSPOSE` or :py:data:`Transpose.TRANSVERSE`.
        :returns: Returns a flipped or rotated copy of this image.
        )r.rrrœ)rÖrÒs  r%rœzImage.transpose s+€ð         ‰    Œ ؏y‰y˜Ÿ™×*Ñ*¨6Ó2Ó3Ð3r$cóv—|j«|j|jj|««S)zj
        Randomly spread pixels in an image.
 
        :param distance: Distance to spread pixels.
        )r.rrÚ effect_spread)rÖÚdistances  r%rzImage.effect_spread› s+€ð          ‰    Œ ؏y‰y˜Ÿ™×.Ñ.¨xÓ8Ó9Ð9r$cód—ddlm}|js d}t|«‚|j|«S)z#Returns a QImage copy of this imager    ©reúQt bindings are not installed)r«reÚqt_is_installedr¬Útoqimage©rÖrerÇs   r%rzImage.toqimage¤ s1€åà×&Ò&Ø1ˆCܘcÓ"Ð "؈w×Ñ Ó%Ð%r$cód—ddlm}|js d}t|«‚|j|«S)z$Returns a QPixmap copy of this imager    rr)r«rerr¬Ú    toqpixmapr    s   r%r zImage.toqpixmap­ s1€åà×&Ò&Ø1ˆCܘcÓ"Ð "Ø ˆw× Ñ  Ó&Ð&r$©rërì)rëúcore.ImagingCore)rr rërì©rër”)rëútuple[int, int]©rër·)rr”rërì)rr rërw)NN)r:rúrûrúr;rrër·)rÝÚobjectrër))rOrarPr)rërì)rWr·rXrrëú bytes | None)rër)rëz.dict[str, str | bytes | int | tuple[int, ...]])rërrÓ)rmz object | Nonerëztuple[object, object])rëú    list[Any])rurrërì©re)rÍr·rÅrrër³)rö)rˆr·rër³)rfú*bytes | bytearray | SupportsArrayInterfacerÄr·rÅrrërì)rëzcore.PixelAccess | None) r{rúr¦ztuple[float, ...] | Noner¾z Dither | NonerrVr¿r”rërw) r¿r”rÒr+rÓr”rú Image | Noner¾rPrërw)rërw)rØú(tuple[float, float, float, float] | Nonerërw)rr rØú!tuple[float, float, float, float]rër )r{rúr rêrëz0tuple[str, tuple[int, int, float, float]] | None)ræz-ImageFilter.Filter | type[ImageFilter.Filter]rërw)rëútuple[str, ...])rðr)rëú tuple[int, int, int, int] | None)r›)rör”rëzBlist[tuple[int, tuple[int, ...]]] | list[tuple[int, float]] | None)rúr+rër )rëz1tuple[float, float] | tuple[tuple[int, int], ...]©rëúdict[str, Any])rër)rëzlist[ImageFile.ImageFile])rërg)r”)r“rúrëzlist[int] | None©rër))r9útuple[int, int] | list[int]rëzfloat | tuple[int, ...] | None)rëztuple[list[int], list[int]])r@rrAútuple[float, float] | Nonerëú    list[int])r@rrArrërê)rz'Image | str | float | tuple[float, ...]rØz:Image | tuple[int, int, int, int] | tuple[int, int] | Noner@rrërì)rþrþ)rrwrKú Sequence[int]rHr!rërì)rTzˆSequence[float] | NumpyArray | Callable[[int], float] | Callable[[ImagePointTransform], ImagePointTransform | float] | ImagePointHandlerr{rúrërw)r6z Image | intrërì)rMr˜)rfzISequence[float] | Sequence[Sequence[int]] | core.ImagingCore | NumpyArrayrÔrêrÕrêrërì)rfz1ImagePalette.ImagePalette | bytes | Sequence[int]r“r·rërì)r9rr¡z#float | tuple[int, ...] | list[int]rërì)rgr rhzbytes | bytearray | Nonerërw)r rrtrErØrrëútuple[int, int, int, int])NNN)
r z(tuple[int, int] | list[int] | NumpyArrayrtr+rØrrú float | Nonerërw)r’zint | tuple[int, int]rØrrërw)r¡rêrtrEr¢z
int | boolr£rr¤rêršú&float | tuple[float, ...] | str | Nonerërw)r"úStrOrBytesPath | IO[bytes]rûrúrÃrrërì)rrwrër)rÌr”rërì)rÒrúrërì)rëztuple[Image, ...])rÖz    int | strrërw)r r›rtrErr#rërì)r rrÒz3Transform | ImageTransformHandler | SupportsGetDatarfzSequence[Any] | Nonertr”rðr”ršr$rërw)rØr"rörwrÒr>rfzSequence[float]rtr”rðr)rërì)rÒr0rërw)rr”rërw)rëzImageQt.ImageQt)rëúImageQt.QPixmap)br r!r"rírûÚ__annotations__rüÚ!_close_exclusive_fp_after_loadingr×ÚpropertyrÚsetterr}r|r r{rrrr#r+r/r1r?rErLrQrZr_rbrgrirkrprvrDr‰rtr.ršrVrWr¹rPrTr¯rÚ__copy__rÙr×rärærïròrõrørýrr'r)r,r/rCr3r7rºr;rôrCrGrJrRr[r]rsr¸rorzr‹rŒrErFr­r9r»rÍrÑr°r×rÙrJrîrÎròrœrrr r#r$r%rwrwsI…ñ    ð€FˆJÓØ%)И
Ó)Ø(,Ð%ó'ðòóðð ‡YYòóððòóððòóððòóððòóððòBóðBð‡__ò"óð"ó ò òóJó(ó
ð=AðØðØ/9ðØMPðà     óó0
 
ó
ó
ó ó9ó(ðò
óð
ó,ð
15ðKØ -ðKà    óKó Mó    ô7 ôr
ð:"ð#"à8ð#"ðð#"ðð    #"ð
 
ó #"óJ"óH     ð Ø+/Ø $Ø"Ÿ;™;Øð ~àð~ð)ð~ðð    ~ð
ð ~ð ð ~ð
ó~ðDØ!ØØ $Ø×.Ñ.ð QàðQððQðð    Qð
ð Qð ð Qð
óQóf    )ð€Hô3ð4)Ø"ð)Ø)Jð)à    ó)ð, Øð Ø&<ð à    9ó ó2%ó62ð-1õ+ð( #ð,Øð,à    Kó,ô2ó. $ó%5óN$óLó :ó ô7ð,òóðó*&ð0 +Ø-ð +à    'ó +ó
 ðPTð#Ø ð#Ø2Lð#à    ó#ðDPTð!Ø ð!Ø2Lð!à    ó!ð>KOØ!ð    Z'à 3ðZ'ðHðZ'ðð    Z'ð
 
ó Z'ðzPVð6 Øð6 Ø,ð6 Ø?Lð6 à     ó6 ðB ð:7ð  ð:7ðð:7ð
ó:7óx5(ðtØð    -àWð-ðð-ðð    -ð
 
ó -ð6ð)à?ð)ðð)ð
ó    )ðV&+Ø!ð&+Ø*Mð&+à     ó&+ðROSðXØ!ðXØ3KðXà    óXðt
àð
ðð
ð/ð    
ð
 
#ó 
ð2 $Ø8<Ø%)ð g>à6ðg>ððg>ð6ð    g>ð
#ð g>ð
ó g>ðX15ð!6à%ð!6ð.ð!6ð
ó    !6ðL *×1Ñ1Ø"Ø-1Ø,0Ø<@ðr
àðr
ððr
ðð    r
ð
+ð r
ð *ð r
ð:ðr
ð
ór
ðjDHðØ,ðØ6@ðØSVðà     óóBó
 ô,$ó06ó&3ó,    ð *×1Ñ1Ø%(ð    Tà!ðTððTð#ð    Tð
 
ó Tðx&*Ø"×*Ñ*ØØ<@ð\àð\ðDð\ð#ð    \ð
ð \ð ð \ð:ð\ð
ó\ðH#×*Ñ*ØðTGà &ðTGððTGðð    TGð
ð TGð ð TGððTGð
óTGól 4ó:ó&ô'r$có6—eZdZdZej
dd„«Zy)rQzb
    Used as a mixin by point transforms
    (for use with :py:meth:`~PIL.Image.Image.point`)
    có—yrÓr#r    s  r%rRzImagePointHandler.pointÁ s€à r$N)rrwrërw)r r!r"ríÚabcÚabstractmethodrRr#r$r%rQrQ» s!„ñð
    ×Ñò óñ r$rQcóF—eZdZdZej
                                dd„«Zy)rñzi
    Used as a mixin by geometry transforms
    (for use with :py:meth:`~PIL.Image.Image.transform`)
    c ó—yrÓr#)rÖr rör;s    r%rÎzImageTransformHandler.transformÌ s€ð     r$N)r rrörwr;rrërw)r r!r"rír.r/rÎr#r$r%rñrñÆ sG„ñð
    ×Ñð àð ðð ðð     ð
 
ò  óñ r$rñcóº—t|ttf«s d}t|«‚t    |«dk7r d}t|«‚|ddks|ddkr d}t|«‚y)zª
    Common check to enforce type and sanity check on size tuples
 
    :param size: Should be a 2 tuple of (width, height)
    :returns: None, or raises a ValueError
    zSize must be a list or tupler1z#Size must be a sequence of length 2rr    zWidth and height must be >= 0N)r½rr¾r,r~)r rÇs  r%Ú _check_sizer3Ú sd€ô dœT¤5˜MÔ *Ø,ˆÜ˜‹oÐÜ
ˆ4ƒyA‚~Ø3ˆÜ˜‹oÐØ ˆAw‚{d˜1‘g ’kØ-ˆÜ˜‹oÐð"r$cój—t|«|€-t«jtj||««St |t «rddlm}|j||«}t«}|dk(rt |ttf«r‡td„|D««rutttdft|««}t|«dk(st|«dk(r7ddlm}|j «|_|j"j|«}|jtj$|||««S)    aÅ
    Creates a new image with the given mode and size.
 
    :param mode: The mode to use for the new image. See:
       :ref:`concept-modes`.
    :param size: A 2-tuple, containing (width, height) in pixels.
    :param color: What color to use for the image. Default is black. If given,
       this should be a single integer or floating point value for single-band
       modes, and a tuple for multi-band modes (one value per band). When
       creating RGB or HSV images, you can also use color strings as supported
       by the ImageColor module. See :ref:`colors` for more information. If the
       color is None, the image is not initialised.
    :returns: An :py:class:`~PIL.Image.Image` object.
    r    rEr’c3ó<K—|]}t|t«–—Œy­wrÓ)r½r”rds  r%r§znew.<locals>.<genexpr> sèø€Ò2 q”
˜1œc×"Ñ2ùs‚.r2r3r)r3rwrrÁrr½r·r«rFr¶rr¾Úallrr”r~rdrrð)r{r ÚcolorrFrÚ
color_intsrds       r%rrí sì€ô(Ôà €}ä‹w|‰|œDŸH™H T¨4Ó0Ó1Ð1ä%œÔõ    !à×#Ñ# E¨4Ó0ˆä    ‹€Bà Š Ü uœt¤U˜mÔ ,Ü Ñ2¨EÔ2Ô 2ä&*¬5´°c°©?¼EÀ%»LÓ&Iˆ
Ü ˆz‹?˜aÒ ¤3 z£?°aÒ#7å &à2˜×2Ñ2Ó4ˆBŒJØ—J‘J×'Ñ'¨
Ó3ˆEØ 7‰7”4—9‘9˜T 4¨Ó/Ó 0Ð0r$cóþ—t|«t||«}|jdk7rV|jdk7rG|}t    |«dk(rt |dt «r|d}|dk(r|dk(r|}|j|||«|S)aƒ
    Creates a copy of an image memory from pixel data in a buffer.
 
    In its simplest form, this function takes three arguments
    (mode, size, and unpacked pixel data).
 
    You can also use any pixel decoder supported by PIL. For more
    information on available decoders, see the section
    :ref:`Writing Your Own File Codec <file-codecs>`.
 
    Note that this function decodes pixel data only, not entire images.
    If you have an entire image in a string, wrap it in a
    :py:class:`~io.BytesIO` object, and use :py:func:`~PIL.Image.open` to load
    it.
 
    :param mode: The image mode. See: :ref:`concept-modes`.
    :param size: The image size.
    :param data: A byte buffer containing raw data for the given mode.
    :param decoder_name: What decoder to use.
    :param args: Additional parameters for the given decoder.
    :returns: An :py:class:`~PIL.Image.Image` object.
    rr    rer#)r3rr}r|r~r½r¾rt)r{r rfrÄrÅrrŒs       r%rtrt s}€ô<Ôä     ˆT4‹€BØ    ‡xx1‚}˜Ÿ™ ašØ ˆ Ü ˆ|Ó  Ò !¤j°¸a±Ä%Ô&Hà'¨™?ˆLà ˜5Ò   \°RÒ%7؈Là
 ‰ T˜<¨Ô6Ø €Ir$c    ó¨—t|«t|«dk(rt|dt«r|d}|dk(rŽ|dk(r|ddf}|dtvryt |d«}|j tj|||d|««}|dk(r7ddl    m
}|jd|jjd««|_ d|_|St|||||«S)    aÑ
    Creates an image memory referencing pixel data in a byte buffer.
 
    This function is similar to :py:func:`~PIL.Image.frombytes`, but uses data
    in the byte buffer, where possible.  This means that changes to the
    original buffer object are reflected in this image).  Not all modes can
    share memory; supported modes include "L", "RGBX", "RGBA", and "CMYK".
 
    Note that this function decodes pixel data only, not entire images.
    If you have an entire image file in a string, wrap it in a
    :py:class:`~io.BytesIO` object, and use :py:func:`~PIL.Image.open` to load it.
 
    The default parameters used for the "raw" decoder differs from that used for
    :py:func:`~PIL.Image.frombytes`. This is a bug, and will probably be fixed in a
    future release. The current release issues a warning if you do this; to disable
    the warning, you should provide the full set of parameters. See below for details.
 
    :param mode: The image mode. See: :ref:`concept-modes`.
    :param size: The image size.
    :param data: A bytes or other buffer object containing raw
        data for the given mode.
    :param decoder_name: What decoder to use.
    :param args: Additional parameters for the given decoder.  For the
        default encoder ("raw"), it's recommended that you provide the
        full set of parameters::
 
            frombuffer(mode, size, data, "raw", mode, 0, 1)
 
    :returns: An :py:class:`~PIL.Image.Image` object.
 
    .. versionadded:: 1.1.4
    r    rrer#rþr’rr”)r3r~r½r¾Ú    _MAPMODESrrrÁÚ
map_bufferr«rdrrCrrrt)r{r rfrÄrÅrrds       r%Ú
frombufferr=L sπôPÔô ˆ4ƒyA‚~œ* T¨!¡W¬eÔ4ؐA‰wˆàuÒØ 2Š:ؘ˜A:ˆDØ ‰7”iÑ ÜT˜6Ó"ˆBØ—‘œŸ™¨¨t°\À1ÀdÓKÓLˆBؐsŠ{Ý*à6˜\×6Ñ6°u¸b¿e¹e×>NÑ>NÈuÓ>UÓV”
؈BŒK؈Iä T˜4  |°TÓ :Ð:r$có"—eZdZdZedd„«Zy)ÚSupportsArrayInterfacezC
    An object that has an ``__array_interface__`` dictionary.
    có—t«‚rÓ©ÚNotImplementedErrorrÙs r%rgz*SupportsArrayInterface.__array_interface__ s €ä!Ó#Ð#r$Nr)r r!r"rír)rgr#r$r%r?r?Š s„ñðò$óñ$r$r?có"—eZdZdZ    d            dd„Zy)ÚSupportsArrowArrayInterfacezm
    An object that has an ``__arrow_c_array__`` method corresponding to the arrow c
    data interface.
    Ncó—t«‚rÓrArls  r%rkz-SupportsArrowArrayInterface.__arrow_c_array__š s €ô"Ó#Ð#r$rÓ)rmz 'PyCapsule'rëztuple['PyCapsule', 'PyCapsule'])r r!r"rírkr#r$r%rDrD” s!„ñð /3ð$Ø +ð$à    (ô$r$rDc    ó¦—|j}|d}t|«}|jdd«}    d|ddz|df}|    t
|\}
} }||
k7r|vr t d
d «|} n
}|d vrd}n
|d k(rd}nd}||kDrd|›d|›d}    t|    «‚|dk(rdn|d|df}|Gt|d«r|j«}n*t|d«r|j«}n d}    t|    «‚t|||d dd«S#t$r}|d}g}nd}    t    |    «|‚Yd}~Œäd}~wwxYw#t$r}|\} } d| ›d    | ›}    t    |    «|‚d}~wwxYw)a2
    Creates an image memory from an object exporting the array interface
    (using the buffer protocol)::
 
      from PIL import Image
      import numpy as np
      a = np.zeros((5, 5))
      im = Image.fromarray(a)
 
    If ``obj`` is not contiguous, then the ``tobytes`` method is called
    and :py:func:`~PIL.Image.frombuffer` is used.
 
    In the case of NumPy, be aware that Pillow modes do not always correspond
    to NumPy dtypes. Pillow modes only offer 1-bit pixels, 8-bit pixels,
    32-bit signed integer pixels, and 32-bit floating point pixels.
 
    Pillow images can also be converted to arrays::
 
      from PIL import Image
      import numpy as np
      im = Image.open("hopper.jpg")
      a = np.asarray(im)
 
    When converting Pillow images to arrays however, only pixel values are
    transferred. This means that P and PA mode images will lose their palette.
 
    :param obj: Object with array interface
    :param mode: Optional mode to use when reading ``obj``. Since pixel values do not
      contain information about palettes or color spaces, this can be used to place
      grayscale L mode data within a P mode image, or read RGB data as YCbCr for
      example.
 
      See: :ref:`concept-modes` for general information about modes.
    :returns: An image object.
 
    .. versionadded:: 1.1.6
    rƒÚstridesNr©r1r€zCannot handle this data typezCannot handle this data type: r‡z('mode' parameter for changing data typesr+)r†rŽrŠr’rˆr”r2r3zToo many dimensions: z > r¯r    rrDÚtostringz1'strides' requires either tobytes() or tostring()re) rgr~rr¿rèÚ_fromarray_typemaprr,r*rDrHr=)Úobjr{r˜rƒÚndimrGÚtypekeyr¸Ú color_modesrÇÚtypemoder“Ú typekey_shaper€Úndmaxr s                r%Ú    fromarrayrQ  sÀ€ðL ×
!€CØ ‰L€EÜ ˆu‹:€D؏g‰gi Ó&€Gð(ؘ5  ˜9Ñ$ c¨)¡nÐ4ˆðÐð    (Ü-?ÀÑ-HÑ *ˆHg˜{ð
 ÐØ 8Ò  ¨KÑ 7Ü Ð@À"Ô EØ‰àˆØ Ð(Ñ(؉ؠ    ŠØ‰àˆØ ˆe‚|Ø% d V¨3¨u¨g°QÐ7ˆÜ˜‹oÐà˜’    ‰1˜u Q™x¨¨q©Ð 1€DØÐÜ 3˜    Ô "Ø—+‘+“-‰CÜ S˜*Ô %Ø—,‘,“.‰CàEˆCܘS“/Ð !ä d˜D # u¨g°q¸!Ó <Ð<øôQ ò(Ø Ð ØˆGØ%'‰Kà0ˆCܘC“. aÐ 'ô ûð(ûôò    (Ø%,Ñ "ˆM˜7Ø2°=°/ÀÀGÀ9ÐMˆCܘC“. aÐ 'ûð    (ús/° C>Á D)Ã>    D&ÄD!Ä!D&Ä)    EÄ2E Å Ecóڗt|d«s d}t|«‚|j«\}}tj||||«}|rt «j |«Sd}t|«‚)a×Creates an image with zero-copy shared memory from an object exporting
    the arrow_c_array interface protocol::
 
      from PIL import Image
      import pyarrow as pa
      arr = pa.array([0]*(5*5*4), type=pa.uint8())
      im = Image.fromarrow(arr, 'RGBA', (5, 5))
 
    If the data representation of the ``obj`` is not compatible with
    Pillow internal storage, a ValueError is raised.
 
    Pillow images can also be converted to Arrow objects::
 
      from PIL import Image
      import pyarrow as pa
      im = Image.open('hopper.jpg')
      arr = pa.array(im)
 
    As with array support, when converting Pillow images to arrays,
    only pixel values are transferred. This means that P and PA mode
    images will lose their palette.
 
    :param obj: Object with an arrow_c_array interface
    :param mode: Image mode.
    :param size: Image size. This must match the storage of the arrow object.
    :returns: An Image object
 
    Note that according to the Arrow spec, both the producer and the
    consumer should consider the exported array to be immutable, as
    unsynchronized updates will potentially cause inconsistent data.
 
    See: :ref:`arrow-support` for more detailed information
 
    .. versionadded:: 11.2.1
 
    rkz!arrow_c_array interface not foundz,new_arrow returned None without an exception)r*r,rkrÁÚ    new_arrowrwr)rJr{r rÇÚschema_capsuleÚ array_capsulerÿs       r%Ú    fromarrowrV÷ si€ôN 3Ð+Ô ,Ø1ˆÜ˜‹oÐà&)×&;Ñ&;Ó&=Ñ#€^]Ü
.‰.˜˜t ^°]Ó
C€CÙ
Ü‹w|‰|˜CӠРà
8€CÜ
S‹/Ðr$cód—ddlm}|js d}t|«‚|j|«S)z-Creates an image instance from a QImage imager    rr)r«rerr¬Ú
fromqimage©rrerÇs   r%rXrX+ s1€åà × "Ò "Ø-ˆÜ˜#ÓÐØ ˆ7× Ñ ˜bÓ !Ð!r$cód—ddlm}|js d}t|«‚|j|«S)z.Creates an image instance from a QPixmap imager    rr)r«rerr¬Ú fromqpixmaprYs   r%r[r[5 s1€åà × "Ò "Ø-ˆÜ˜#ÓÐØ ˆ7× Ñ ˜rÓ "Ð"r$)r©z|b1r†z1;8)r©ú|u1rŽr’)r©z|i1rŠzI;8)r©z<u2r‹)r©z>u2rŒ)r©z<i2zI;16S)r©z>i2zI;16BS)r©z<u4zI;32)r©z>u4zI;32B)r©z<i4zI;32S)r©z>i4zI;32BS)r©z<f4rˆzF;32F)r©z>f4zF;32BF)r©z<f8zF;64F)r©z>f8zF;64BF))r    r    r1r\rrr“))r    r    r2r\r”)r˜r‘r‰))r    r    r3r\r•)r–r—r‡r©Úi4Úf4cóü—t€ytd|d«td|d«z}|dtzkDrd|›ddtz›d}t|«‚|tkDr&tjd|›dt›dt
«yy)Nr    rr1z Image size (z pixels) exceeds limit of z0 pixels, could be decompression bomb DOS attack.)r,ryr(r´rµr)r ÚpixelsrÇs   r%rÝrÝZ s¡€ÜÐØä D˜‘G‹_œs 1 d¨1¡g›Ñ .€Fà Ô$Ñ$Ò$à˜6˜(Ð"<¸QÔAQÑ=QÐ<RðS>ð >ð     ô% SÓ)Ð)à ԠҠ܏ ‰ ؘ6˜(Ð"<Ô=MÐ<NðO6ð 6ä $õ    
ð!r$c    óÖ‡    ‡
‡ —|dk7rdt|«›}t|«‚t|tj«r d}t|«‚|€t
}n#t|t tf«s d}t|«‚dŠ
d}t|«r.tj|«}tj|d«}dŠ
nttt |«}    |j#d    «|j+d
«}t-«gŠ                                         dˆ
ˆ fd „ }|||||«}|€C|t
ur;t
j/«Š    t1«r||||tˆ    fd „|D«««}|r    ‰
|_|S‰
r|j5«‰ D]}t7j8|«Œd |r|n|z}t;|«‚#t$tj&f$r)tj(|j+««}dŠ
YŒ wxYw)a
    Opens and identifies the given image file.
 
    This is a lazy operation; this function identifies the file, but
    the file remains open and the actual image data is not read from
    the file until you try to process the data (or call the
    :py:meth:`~PIL.Image.Image.load` method).  See
    :py:func:`~PIL.Image.new`. See :ref:`file-handling`.
 
    :param fp: A filename (string), os.PathLike object or a file object.
       The file object must implement ``file.read``,
       ``file.seek``, and ``file.tell`` methods,
       and be opened in binary mode. The file object will also seek to zero
       before reading.
    :param mode: The mode.  If given, this argument must be "r".
    :param formats: A list or tuple of formats to attempt to load the file in.
       This can be used to restrict the set of formats checked.
       Pass ``None`` to try all supported formats. You can print the set of
       available formats by running ``python3 -m PIL`` or using
       the :py:func:`PIL.features.pilinfo` function.
    :returns: An :py:class:`~PIL.Image.Image` object.
    :exception FileNotFoundError: If the file cannot be found.
    :exception PIL.UnidentifiedImageError: If the image cannot be opened and
       identified.
    :exception ValueError: If the ``mode`` is not "r", or if a ``StringIO``
       instance is used for ``fp``.
    :exception TypeError: If ``formats`` is not ``None``, a list or a tuple.
    rÂz    bad mode zKStringIO cannot be used to open an image. Binary data must be used instead.zformats must be a list or tupleFr«ÚrbTrécó•—|D]•}|j«}|tvr
t«    t|\}}| xs||«}t|t«r‰ j |«n5|r3|j d«|||«}t|j«|cSŒ—y#ttttjf$r0}    tr ‰ j |dzt    |    «z«Yd}    ~    Œçd}    ~    wt$r‰
r|j!«‚wxYw)Nrz opening failed. )r½rlr¹r½r·r|rÍrÝr Ú SyntaxErrorÚ
IndexErrorrèÚstructÚerrorr*Ú BaseExceptionr+) r"r>ÚprefixÚformatsr¥ÚfactoryÚacceptrOrr¸Ú exclusive_fpÚwarning_messagess           €€r%Ú
_open_corezopen.<locals>._open_core¶ sîø€ð ò    ˆAØ—‘“    ˆAØœ‰}Ü”ð Ü"& q¡'‘˜Ø#˜Ò5¡v¨f£~Ü˜f¤cÔ*Ø$×+Ñ+¨FÕ3ÙØ—G‘G˜A”JÙ   XÓ.BÜ-¨b¯g©gÔ6Ø’Iøð    ð*øô ¤¬Y¼¿ ¹ ÐEò NÝ(Ø$×+Ñ+¨AÐ0CÑ,CÄcÈ!ÃfÑ,LÔMÿøÜ ò ÙØ—H‘H”JØð úsªA-BÂ#D Ã&C+Ã+ D c3ó,•K—|] }|‰vsŒ|–—Œ y­wrÓr#)r¤rûÚchecked_formatss  €r%r§zopen.<locals>.<genexpr>Ü søèø€ÒT °fÀOÒ6S”fÑTùsƒ    zcannot identify image file %r)
r"ú    IO[bytes]r>z str | bytesrjr³rkzlist[str] | tuple[str, ...]rëzImageFile.ImageFile | None)Úreprr,r½rSÚStringIOrkrr¾rèrr6r²r¿rÀrrr³rÍrÂÚUnsupportedOperationrTÚreadr­rr¹r r+r´rµr ) r"r{rkrÇr>rjrprÚmessagerrrnros          @@@r%rÀrÀo sèú€ðD ˆs‚{Øœ$˜t›*˜Ð&ˆÜ˜‹oÐÜ    BœŸ ™ Ô    $ð 0ð     ô˜‹oÐà€Ü‰Ü ˜¤$¬ Ô /Ø/ˆÜ˜‹nÐà€LØ€H܈r„{Ü—9‘9˜R“=ˆÜ ]‰]˜8 TÓ *ˆØ‰ ä ”"”U‘)˜RÓ  ˆðØ
‰Œ
ð
W‰WR‹[€Fä „Ià"$ÐðØ ðàðððð-ð    ð
 
$ö ñ:
B˜ &¨'Ó    2€Bà    €zg¤‘mÜŸ'™'›)ˆÜ Œ6ÙØØØÜÓT¨7ÔTÓTó    ˆBñ
Ø'ˆÔ؈    áØ
‰Œ
Ø#òˆÜ ‰ gÕðà
)¹©XÀrÑ
J€CÜ
  Ó
%Ð%øôy œB×3Ñ3Ð 4òÜ Z‰Z˜Ÿ™›    Ó "ˆØ‹ ðúsÃ
F&Æ&>G(Ç'G(có´—|j«|j«|jtj|j|j««S)zñ
    Alpha composite im2 over im1.
 
    :param im1: The first image. Must have mode RGBA or LA.
    :param im2: The second image. Must have the same mode and size as the first image.
    :returns: An :py:class:`~PIL.Image.Image` object.
    )r.rrÁrJr)Úim1Úim2s  r%rJrJï s:€ð‡HH„J؇HH„JØ 8‰8”D×(Ñ(¨¯©°·±Ó8Ó 9Ð9r$có¶—|j«|j«|jtj|j|j|««S)a‹
    Creates a new image by interpolating between two input images, using
    a constant alpha::
 
        out = image1 * (1.0 - alpha) + image2 * alpha
 
    :param im1: The first image.
    :param im2: The second image.  Must have the same mode and size as
       the first image.
    :param alpha: The interpolation alpha factor.  If alpha is 0.0, a
       copy of the first image is returned. If alpha is 1.0, a copy of
       the second image is returned. There are no restrictions on the
       alpha value. If necessary, the result is clipped to fit into
       the allowed output range.
    :returns: An :py:class:`~PIL.Image.Image` object.
    )r.rrÁÚblendr)rzr{r6s   r%r}r}ý s:€ð$‡HH„J؇HH„JØ 8‰8”D—J‘J˜sŸv™v s§v¡v¨uÓ5Ó 6Ð6r$cóL—|j«}|j|d|«|S)af
    Create composite image by blending images using a transparency mask.
 
    :param image1: The first image.
    :param image2: The second image.  Must have the same mode and
       size as the first image.
    :param mask: A mask image.  This image can have mode
       "1", "L", or "RGBA", and must have the same size as the
       other two images.
    N)rrG)Úimage1Úimage2r@rös    r%Ú    compositers$€ð K‰K‹M€EØ    ‡KK˜˜dÔ#Ø €Lr$có*—|j|d«S)aá
    Applies the function (which should take one argument) to each pixel
    in the given image. If the image has more than one band, the same
    function is applied to each band. Note that the function is
    evaluated once for each possible pixel value, so you cannot use
    random components or other generators.
 
    :param image: The input image.
    :param function: A function object, taking one integer argument.
    :returns: An :py:class:`~PIL.Image.Image` object.
    r)rR)rörÅs  r%Úevalrƒ%s€ð ;‰;t˜A‘wÓ Ðr$c    óº—t|«t|«k7sd|vr d}t|«‚|ddD]P}|jt    |«k7r d}t|«‚|j
|dj
k7sŒEd}t|«‚|D]}|j «Œ|djtj|g|Dcgc]}|j‘Œc}¢­Ž«Scc}w)am
    Merge a set of single band images into a new multiband image.
 
    :param mode: The mode to use for the output image. See:
        :ref:`concept-modes`.
    :param bands: A sequence containing one single-band image for
        each band in the output image.  All bands must have the
        same size.
    :returns: An :py:class:`~PIL.Image.Image` object.
    Ú*zwrong number of bandsr    Nz mode mismatchrz size mismatch) r£r~r,r{rŸr r.rrÁr±r)r{rrÇrúrYs     r%r±r±5sπôDÓœS ›ZÒ'¨3°$©;Ø%ˆÜ˜‹oÐØab    ò"ˆØ 9‰9œ  DÓ)Ò )Ø!ˆCܘS“/Ð !Ø 9‰9˜˜a™Ÿ ™ Ó %Ø!ˆCܘS“/Ð !ð "ðòˆØ     ‰     ðà ‰8=‰=œŸ™ DÐA¸%Ö+@°Q¨A¯D«DÒ+@ÒAÓ BÐBùÒ+@sÂ;Ccót—|j«}|tvrtj|«||ft|<y)a1
    Register an image file plugin.  This function should not be used
    in application code.
 
    :param id: An image format identifier.
    :param factory: An image file factory method.
    :param accept: An optional function that can be used to quickly
       reject images having another format.
    N)r½rkr|rl)rKrlrms   r%Ú register_openr‡Ts.€ð"
‰‹€BØ    ”|Ü
    ‰    "Œ ؘˆ„Dˆ‚Hr$có2—|t|j«<y)a²
    Registers an image MIME type by populating ``Image.MIME``. This function
    should not be used in application code.
 
    ``Image.MIME`` provides a mapping from image format identifiers to mime
    formats, but :py:meth:`~PIL.ImageFile.ImageFile.get_format_mimetype` can
    provide a different result for specific images.
 
    :param id: An image format identifier.
    :param mimetype: The image MIME type for this format.
    N)rnr½)rKÚmimetypes  r%Ú register_mimerŠks€ð „Dˆ‰‹Òr$có2—|t|j«<y)zÏ
    Registers an image save function.  This function should not be
    used in application code.
 
    :param id: An image format identifier.
    :param driver: A function to save images in this format.
    N)ror½©rKÚdrivers  r%Ú register_saverŽzs€ð„Dˆ‰‹Òr$có2—|t|j«<y)zü
    Registers an image function to save all the frames
    of a multiframe format.  This function should not be
    used in application code.
 
    :param id: An image format identifier.
    :param driver: A function to save images in this format.
    N)rpr½rŒs  r%Úregister_save_allr‡s€ð"„HˆRX‰X‹ZÒr$cóN—|j«t|j«<y)zÇ
    Registers an image extension.  This function should not be
    used in application code.
 
    :param id: An image format identifier.
    :param extension: An extension used for this format.
    N)r½rqr·)rKÚ    extensions  r%Úregister_extensionr“•s€ð$&§8¡8£:„Iˆio‰oÓÒ r$có*—|D]}t||«Œy)zÎ
    Registers image extensions.  This function should not be
    used in application code.
 
    :param id: An image format identifier.
    :param extensions: A list of extensions used for this format.
    N)r“)rKÚ
extensionsr’s   r%Úregister_extensionsr– s€ð ò*ˆ    Ü˜2˜yÕ)ñ*r$có"—t«tS)za
    Returns a dictionary containing all file extensions belonging
    to registered plugins
    )r¹rqr#r$r%Úregistered_extensionsr˜¬s€ô
    „FÜ Ðr$có—|t|<y)zÙ
    Registers an image decoder.  This function should not be
    used in application code.
 
    :param name: The name of the decoder
    :param decoder: An ImageFile.PyDecoder object
 
    .. versionadded:: 4.1.0
    N)rr)rˆrÆs  r%Úregister_decoderršµó €ð„HˆT‚Nr$có—|t|<y)zÙ
    Registers an image encoder.  This function should not be
    used in application code.
 
    :param name: The name of the encoder
    :param encoder: An ImageFile.PyEncoder object
 
    .. versionadded:: 4.1.0
    N)rs)rˆrÎs  r%Úregister_encoderrÂr›r$c óP—ddlm}tddd«|j|fi|¤Žy)Nr    rÏz Image._showr+zImageShow.show)r«rÐrrÑ)rör;rÐs   r%Ú_showrŸÓs%€Ýä ˆm˜RÐ!1Ô2Ø€I‡NN5Ñ$˜GÓ$r$có^—t«jtj|||««S)a
    Generate a Mandelbrot set covering the given extent.
 
    :param size: The requested size in pixels, as a 2-tuple:
       (width, height).
    :param extent: The extent to cover, as a 4-tuple:
       (x0, y0, x1, y1).
    :param quality: Quality.
    )rwrrÁÚeffect_mandelbrot)r ÚextentÚqualitys   r%r¡r¡Þs$€ô ‹7<‰<œ×.Ñ.¨t°V¸WÓEÓ FÐFr$có\—t«jtj||««S)z»
    Generate Gaussian noise centered around 128.
 
    :param size: The requested size in pixels, as a 2-tuple:
       (width, height).
    :param sigma: Standard deviation of noise.
    )rwrrÁÚ effect_noise)r Úsigmas  r%r¥r¥ís"€ô ‹7<‰<œ×)Ñ)¨$°Ó6Ó 7Ð7r$cóZ—t«jtj|««S)zl
    Generate 256x256 linear gradient from black to white, top to bottom.
 
    :param mode: Input mode.
    )rwrrÁÚlinear_gradientr›s r%r¨r¨øó €ô ‹7<‰<œ×,Ñ,¨TÓ2Ó 3Ð3r$cóZ—t«jtj|««S)zm
    Generate 256x256 radial gradient from black to white, centre to edge.
 
    :param mode: Input mode.
    )rwrrÁÚradial_gradientr›s r%r«r«r©r$có—||ntj}dtjfdtjfdtj
ffD]d\}}||vrŒ ||j «}d}dD](\}}|j|«sŒ|}|dt|« }Œ*    t|«|z}    ||«Œfy#t$rtj|›d«YŒ‹wxYw#t$r$}    tj|›d|    ›«Yd}    ~    Œ·d}    ~    wwxYw)NÚPILLOW_ALIGNMENTÚPILLOW_BLOCK_SIZEÚPILLOW_BLOCKS_MAXr    ))r    i)r‚iz  is not intz: ) r6ÚenvironrÁÚ set_alignmentÚset_block_sizeÚset_blocks_maxr·r7r~r”r,r´rµ)
ÚenvÚenv_dictÚvar_namer*ÚvarÚunitsÚpostfixÚmulÚvar_intr¸s
          r%Ú_apply_env_variablesr¼s€Øo‰s¬2¯:©:€Hð
œT×/Ñ/Ð0Ø    œd×1Ñ1Ð2Ø    œd×1Ñ1Ð2ðò.ш&ð
˜8Ñ #Ø àxÑ ×&Ñ&Ó(ˆàˆØ=ò    +‰LˆGS؏|‰|˜GÕ$ؘؐ/œS ›\˜MÐ*‘ð    +ð
    Ü˜#“h Ñ&ˆGð
    .Ù 7Oñ/.øô$ò    Ü M‰M˜X˜J kÐ2Ô 3Ù ð    ûô ò    .Ü M‰M˜X˜J b¨¨Ð,× -Ñ -ûð    .ús*ÂB2Â'CÂ2!CÃCà   DÃ"DÄDcóʗeZdZUdZdZded<dZdZdd„Zdd„Z    dd„Z
    d                    dd    „Z dd
„Z dd „Z ddd „Zd d „Zd!d"d„Zd#d„Zdd„Zd$d„Zd%d„Zd&d„Zd'd„Zd(d„Zd)d„Zd*d„Zy)+ra
    This class provides read and write access to EXIF image data::
 
      from PIL import Image
      im = Image.open("exif.png")
      exif = im.getexif()  # Returns an instance of this class
 
    Information can be read and written, iterated over or deleted::
 
      print(exif[274])  # 1
      exif[274] = 2
      for k, v in exif.items():
        print("Tag", k, "Value", v)  # Tag 274 Value 2
      del exif[274]
 
    To access information beyond IFD0, :py:meth:`~PIL.Image.Exif.get_ifd`
    returns a dictionary::
 
      from PIL import ExifTags
      im = Image.open("exif_gps.jpg")
      exif = im.getexif()
      gps_ifd = exif.get_ifd(ExifTags.IFD.GPSInfo)
      print(gps_ifd)
 
    Other IFDs include ``ExifTags.IFD.Exif``, ``ExifTags.IFD.MakerNote``,
    ``ExifTags.IFD.Interop`` and ``ExifTags.IFD.IFD1``.
 
    :py:mod:`~PIL.ExifTags` also has enum classes to provide names for data::
 
      print(exif[ExifTags.Base.Software])  # PIL
      print(gps_ifd[ExifTags.GPS.GPSDateStamp])  # 1999:99:99 99:99:99
    NrúrFcóJ—i|_i|_i|_d|_d|_yrÓ)Ú_dataÚ _hidden_dataÚ_ifdsÚ_infoÚ _loaded_exifrÙs r%r×z Exif.__init__]s'€Ø%'ˆŒ
Ø,.ˆÔØ02ˆŒ
ØCGˆŒ
Ø*.ˆÕr$cón—    t|«dk(rt|t«r|dS|S#t$rY|SwxYwrñ)r~r½r¾rU)rÖr¡s  r%Ú_fixupz Exif._fixupdsD€ð    Ü5‹z˜QФ:¨e´UÔ#;ؘQ‘xðˆ øôò    Ø ؈ ð    ús ‚"'§    4³4cót—|j«Dcic]\}}||j|«“Œc}}Scc}}wrÓ)rrÅ)rÖÚsrc_dictr    r s    r%Ú _fixup_dictzExif._fixup_dictls0€ð/7¯n©nÓ.>×?¡d a¨4—;‘;˜q“>Ñ!Ó?Ð?ùÓ?s”4có—    |jj|«ddlm}|j|j
|¬«}|j |j«|jt|««S#ttf$rYywxYw)Nr    ©rf)Úgroup) r"rÍr«rfÚImageFileDirectory_v2Úheadr.rÈÚdictr¿rè)rÖrÕrËrfrs     r%Ú _get_ifd_dictzExif._get_ifd_dictqst€ð     0ð G‰GL‰L˜Ô  õ *à8?×8Ñ8¸¿¹È%ÔPˆDØ I‰Id—g‘gÔ Ø×#Ñ#¤D¨£JÓ/Ð /øôœ)Ð$ò    Ùð    ús‚A6Á6BÂBcó—|jrdnd}|jdk(rd|zdztd«z}nd|ztd«z}|jr-||jdk(r td«n
td«z }|dz }|S)    Nó+ó*rusIIórõsMMs)rrrr)rÖrdrÍs   r%Ú    _get_headzExif._get_heads{€Ø!Ÿ\š\‘'¨wˆØ ;‰;˜#Ò Ø˜7‘? WÑ,¬u°Q«xÑ7‰Dà˜wÑ&¬¨q«Ñ1ˆDØ <Š<Ø  § ¡ ¨sÒ 2”E˜!”H¼¸a»Ñ @ˆDØ Ð'Ñ 'ˆD؈ r$cóÚ—||jk(ry||_|jj«|jj«|jj«|r*|j d«r|dd}|r|j d«rŒ|sd|_ytj|«|_    |jjd«|_ ddl m }|j|j«|_|j j|_|jj#|j j$«|j j'|j«y)NóExifr5rõr    rÊ)rÃr¿ÚclearrÀrÁÚ
startswithrÂrSrTr"rwrÍr«rfrÌrrrÍÚnextr.)rÖrfrfs   r%r.z    Exif.loadŒs€ð 4×$Ñ$Ò $Ø Ø ˆÔØ 
‰
×ÑÔØ ×Ñ×ÑÔ!Ø 
‰
×ÑÔِt—‘ Ô7ؘ˜8ˆDñt—‘ Õ7áØˆDŒJØ äŸZ™Z¨Ó-ˆŒØ—G‘G—L‘L “OˆŒ    å%à:_×:Ñ:¸4¿9¹9ÓEˆŒ
Ø—j‘j×(Ñ(ˆŒ Ø ‰ ‰ T—Z‘Z—_‘_Ô%Ø 
‰
‰˜Ÿ™Õ r$có¬—d|_|jj«|jj«|jj«ddlm}||_||j«|_    n |jjd«|_    |j|j«|_ |j€|jj|_ |€|jj}|jj!«|jj#|«|jj%|j«y)Nr    rÊrõ)rÃr¿r×rÀrÁr«rfr"rÔrÍrwrÌrÂrrrÙrÙrÍr.)rÖr"rÕrfs    r%rzExif.load_from_fp©s倨 ˆÔØ 
‰
×ÑÔØ ×Ñ×ÑÔ!Ø 
‰
×ÑÔõ    &àˆŒØ Ð ØŸ™Ó(ˆDIàŸ™Ÿ ™  Q›ˆDŒIØ:_×:Ñ:¸4¿9¹9ÓEˆŒ
Ø ;‰;Ð ØŸ*™*×,Ñ,ˆDŒKØ ˆ>Ø—Z‘Z—_‘_ˆFØ ‰ ‰ ŒØ ‰ ‰ VÔØ 
‰
‰˜Ÿ™Õ r$cóü—t|«}tjj|vrX|j    |tjjtjj«}|r|j |«tjj |vr`|j    |tjj tjj «|tjj <|SrÓ)rÎr
ÚIFDrrÏÚupdateÚGPSInfo)rÖÚ merged_dictÚifds   r%Ú_get_merged_dictzExif._get_merged_dictÀs´€Ü˜4“jˆ ô <‰<× Ñ  Ñ $Ø×$Ñ$ T¬(¯,©,×*;Ñ*;Ñ%<¼h¿l¹l×>OÑ>OÓPˆCÙØ×"Ñ" 3Ô'ô <‰<× Ñ  4Ñ 'Ø04×0BÑ0BØ”X—\‘\×)Ñ)Ñ*¬H¯L©L×,@Ñ,@ó1ˆKœŸ ™ ×,Ñ,Ñ -ðÐr$có6—ddlm}|j«}|j|¬«}|jj «D]\}}||vsŒ |||<Œ|j «D]\}}|t jjt jjfvrÙt|t«sÉ|j|«}|t jjk(r›t jj|vrt|t jjt«sT|j«}|jt jj«|t jj<|||<Œd|z|j|«zS)Nr    rÊ)ÚifhrÖ)r«rfrÔrÌrÁrr
rÜrrÞr½rÎÚget_ifdÚInteroprrD)rÖrÕrfrÍràrÚifd_dictr¡s        r%rDz Exif.tobytesÑsB€Ý%à~‰~ÓˆØ3ˆo×3Ñ3¸Ô=ˆØ!ŸZ™Z×-Ñ-Ó/ò    $‰MˆCØ˜$ŠØ#C’ð    $ðŸ*™*›,ó     ‰JˆCØÜ— ‘ ×!Ñ!Ü— ‘ ×$Ñ$ðñô! ¬Ô-ØŸ ™  SÓ)àœ8Ÿ<™<×,Ñ,Ò,Ü Ÿ ™ ×,Ñ,°Ñ5Ü& u¬X¯\©\×-AÑ-AÑ'BÄDÔIà!ŸJ™J›LEØ26·,±,¼x¿|¹|×?SÑ?SÓ2TEœ(Ÿ,™,×.Ñ.Ñ/؈C‹Hð     ð Ñ%¨¯ © °FÓ(;Ñ;Ð;r$c    óì —||jvr0|tjjk(r`|j|jj
dk7rì|j |jj
«}|Ä||j|<n³|tjjtjjfvrT|jj||j|««}|O|j ||«}|:||j|<n)|tjjtjjfvròtjj|jvr)|jtjj«|jtjj|}|tjjk(r8ddlm}|j!d«r't#|d«}||d}i}t%t'j(d|dd«d«D]Ã}    t'j(d||    d    zdz|    dzd    zdz«\}
} } }     |j*| \}}| |z}|d
kDr't'j(d | «\}||d    z
||zd    z
} n| d|} t/| «|k7r(t1j2d |›d t/| «›d|
›«Œ¯| sŒ²||«| d«||
<ŒÅt5|j7|««|j|<n|jd«dk(ri}t%t'j(d|dd«d«D]©}    t'j(d||    d    zdz|    dzd    zdz«\}
} } } |
dk(sŒ7t'j(d| «\}|j8j;|«d|j8j=d
«i}|j8j=d
«t#|j8j=d    ««|d<|j8j=d
«|j8j=d
«|d<|j8j=d    «|j8j=d
«}|j*t>j@d}||«|d«d|d<|j8j=d
«|j8j=d«|d<d|i}Œ¬||j|<n#|j ||«}|||j|<|jjC|i«}|tjjk(re|jrY|jE«Dcic]>\}}|tjjtjjfvr||“Œ@}}}|S#t,$rYŒ·wxYwcc}}w)Nrr    )rÌsFUJIFILMrõz<Hr1z<HHL4sé r3z<Lz9Possibly corrupt EXIF MakerNote data.  Expecting to read z bytes but only got z. Skipping tag FiÚNintendoz>Hz>HHL4siz>LÚModelIDÚ    TimeStampÚInternalSerialNumberÚParallaxÚCategory)#rÁr
rÜÚIFD1rÂrÙrÏrrÞrÀrråÚ    MakerNoterärfrÌrØrr®rgÚunpackÚ_load_dispatchr¿r~r´rµrÎrÈr"rÍrwr ÚFLOATÚ
setdefaultr)rÖrràrÕÚtag_datarÌÚ
ifd_offsetÚifd_dataÚ    makernoter¥Úifd_tagÚtypÚcountrfÚ    unit_sizeÚhandlerr Ú
camerainfoÚparallaxr    r s                     r%räz Exif.get_ifdésA€Ø d—j‘jÒ  Ø”h—l‘l×'Ñ'Ò'Ø—:‘:Ñ)¨d¯j©j¯o©oÀÓ.BØ×,Ñ,¨T¯Z©Z¯_©_Ó=CØ‘Ø*-˜Ÿ
™
 3›ØœŸ™×*Ñ*¬H¯L©L×,@Ñ,@ÐAÑAØ×*Ñ*×.Ñ.¨s°D·H±H¸S³MÓBØÑ%Ø×,Ñ,¨V°SÓ9CØ‘Ø*-˜Ÿ
™
 3›ØœŸ™×-Ñ-¬x¯|©|×/EÑ/EÐFÒFÜ—<‘<×$Ñ$¨D¯J©JÑ6Ø—L‘L¤§¡×!2Ñ!2Ô3ØŸ:™:¤h§l¡l×&7Ñ&7Ñ8¸Ñ=Øœ(Ÿ,™,×0Ñ0Ó0ÝFà×*Ñ*¨;Õ7Ü%*¨8°QÓ%7˜
Ø#+¨J¨KÐ#8˜à$&˜    Ü!&¤v§}¡}°T¸8ÀBÀQ¸<Ó'HÈÑ'KÓ!Lò˜AÜ8>¿ ¹ Ø (¨(°1°r±6¸A±:ÀÀQÁÈ"Á ÈqÑ@PÐ*Qó9Ñ5˜G S¨%°ð)ð%:×$HÑ$HÈÑ$Mñ!"Ø$-Ø$+ð$)¨9Ñ#4˜DØ# ašxÜ,2¯M©M¸$ÀÓ,E¡     Ø'/°¸± ¸fÀt¹mÈbÑ>PÐ'Q¡à'+¨E¨T { ä" 4›y¨DÒ0Ü (§ ¡ ð%9Ø9=¸Ð>RÜ'*¨4£y k°ÀÀ    ð%Kô!"ð
!)á#'Ø (á18Ù 5Ó 7¸¸uó2˜I gÒ.ð;ô@+/¨t×/?Ñ/?À    Ó/JÓ*K˜Ÿ
™
 3›ØŸ™ &Ó)¨ZÓ7Ø$&˜    Ü!&¤v§}¡}°T¸8ÀBÀQ¸<Ó'HÈÑ'KÓ!Ló A˜AÜ8>¿ ¹ Ø (¨(°1°r±6¸A±:ÀÀQÁÈ"Á ÈqÑ@PÐ*Qó9Ñ5˜G S¨%°ð '¨&Ó0ä,2¯M©M¸$ÀÓ,E¡     Ø $§¡§ ¡ ¨VÔ 4ð%.¨t¯w©w¯|©|¸A«ðF" 
ð!%§¡§ ¡ ¨Q¤ä:?ÀÇÁÇ Á ÈRÓ@PÓ:Q 
¨;Ñ 7à $§¡§ ¡ ¨Q¤ØEIÇWÁWÇ\Á\ÐRSÃ_ 
Ð+AÑ Bà $§¡§ ¡ ¨RÔ 0Ø+/¯7©7¯<©<¸«? Ø*?×*NÑ*NÜ$,§N¡Nñ+"à"#ñ+% ñ:AÙ$9Ó$;¸XÀuó:"à"#ñ:% 
¨:Ñ 6ð!%§¡§ ¡ ¨Q¤Ø9=¿¹¿¹Àa» 
¨:Ñ 6à-3°ZÐ,@¢    ðA AðB+4˜Ÿ
™
 3šð×,Ñ,¨X°sÓ;CؐØ*-˜Ÿ
™
 3™Øj‰j×#Ñ# C¨Ó,ˆØ ”(—,‘,×#Ñ#Ò #¨×(9Ò(9ð"Ÿi™i›k÷áQ˜ØœXŸ\™\×1Ñ1´8·<±<×3IÑ3IÐJÑJð1‘ðˆCñð
ˆ
øôQ$,ò)Ú (ð)üóFsÉ&W ÖAW0×     W-×,W-cóª—tjjtjjfD]}||vsŒ|||j|<||=ŒyrÓ)r
rÜrrÞrÀ©rÖrs  r%Ú hide_offsetszExif.hide_offsetsUsL€Ü—L‘L×%Ñ%¤x§|¡|×';Ñ';Ð<ò    ˆCؐdŠ{Ø)-¨c©×!Ñ! #Ñ&ؘ‘Iñ    r$cóp—|j|jD]}||Œ    t|j«SrÓ)rÂr·r¿rs  r%Ú__str__z Exif.__str__[s6€Ø :‰:Ð !à—z‘zò ØS“    ð ô4—:‘:‹Ðr$có—t|j«}|j|j|j«t    |«SrÓ)Úsetr¿rÂrÝr~©rÖÚkeyss  r%Ú__len__z Exif.__len__cs3€Ü4—:‘:‹ˆØ :‰:Ð !Ø K‰K˜Ÿ
™
Ô #ܐ4‹yÐr$cóà—|jT||jvrF||jvr8|j|j|«|j|<|j|=|j|SrÓ)rÂr¿rÅrs  r%Ú __getitem__zExif.__getitem__isY€Ø :‰:Ð ! c°·±Ñ&;ÀÀtÇzÁzÑ@QØ"Ÿk™k¨$¯*©*°S©/Ó:ˆDJ‰Js‰OØ—
‘
˜3Øz‰z˜#‰Ðr$có^—||jvxs|jduxr||jvSrÓ)r¿rÂrs  r%Ú __contains__zExif.__contains__os-€Ød—j‘jРÒR T§Z¡Z°tÐ%;Ò%QÀÀtÇzÁzÐ@QÐRr$cóp—|j||jvr |j|=||j|<yrÓ)rÂr¿)rÖrr¡s   r%Ú __setitem__zExif.__setitem__rs/€Ø :‰:Ð ! c¨T¯Z©ZÑ&7Ø—
‘
˜3Øˆ
‰
3Šr$có¦—|j||jvr|j|=y|j|=||jvr|j|=yyrÓ)rÂr¿rÁrs  r%Ú __delitem__zExif.__delitem__wsI€Ø :‰:Ð ! c¨T¯Z©ZÑ&7Ø—
‘
˜3‘à—
‘
˜3Ød—j‘jÑ Ø—J‘J˜s‘Oð!r$có—t|j«}|j|j|j«t    |«SrÓ)rr¿rÂrÝÚiterrs  r%Ú__iter__z Exif.__iter__s3€Ü4—:‘:‹ˆØ :‰:Ð !Ø K‰K˜Ÿ
™
Ô #ܐD‹zÐr$r )r¡rrër)rÇúdict[int, Any]rërrÓ)rÕr”rËr+rëzdict[int, Any] | None)rër³)rfr³rërì)r"rsrÕr+rërì)rër)rõ)rÕr”rër³)rr”rërrr)rr”rër)rrrër))rr”r¡rrërì)rr”rërì)rëz Iterator[int])r r!r"rírr'rrr×rÅrÈrÏrÔr.rrárDrärrr    r r rrrr#r$r%rr7s™…ñðB€FˆJÓØ€GØ€Gó/óó@ð 04ð0Øð0Ø",ð0à    ó0ó     ó!ô:!ó.ô"<ó0jóXó óó ó Só ó
$ôr$r)rrwrëztuple[tuple[int, ...], str])r{r·rër·)r{r·rër)r{r·rër”r r)r#)
r{r·rÄr·rÅrr„útuple[Any, ...]rëz)core.ImagingDecoder | ImageFile.PyDecoder)
r{r·rÍr·rÅrr„rrëz)core.ImagingEncoder | ImageFile.PyEncoder)ròz<Callable[[ImagePointTransform], ImagePointTransform | float]rër›)r rrërì)r)r{r·r rr7r$rërwr) r{r·r rrfrrÄr·rÅrrërw) r{r·r rrfzbytes | SupportsArrayInterfacerÄr·rÅrrërwrÓ)rJr?r{rúrërw)rJrDr{r·r rrërw)rzImageQt.QImagerëúImageFile.ImageFile)rr&rër)r rrërì)rÂN)r"r%r{z Literal['r']rkz"list[str] | tuple[str, ...] | Nonerër)rzrwr{rwrërw)rzrwr{rwr6rêrërw)rrwr€rwr@rwrërw)rörwrÅrçrërw)r{r·rzSequence[Image]rërw)rKr·rlzSCallable[[IO[bytes], str | bytes], ImageFile.ImageFile] | type[ImageFile.ImageFile]rmz$Callable[[bytes], bool | str] | Nonerërì)rKr·r‰r·rërì)rKr·rz/Callable[[Image, IO[bytes], str | bytes], None]rërì)rKr·r’r·rërì)rKr·r•rjrërì)rërm)rˆr·rÆztype[ImageFile.PyDecoder]rërì)rˆr·rÎztype[ImageFile.PyEncoder]rërì)rörwr;rrërì)r rr¢rr£r”rërw)r rr¦rêrërw)r{r·rërw)r´zdict[str, str] | Nonerërì)¬Ú
__future__rr.Úatexitr¿rSÚloggingrrr6rrgr(r4r´Úcollections.abcrÚenumrÚtypingrrrr«r
r r r rrÚ_binaryrrrÚ
_deprecaterÚ_utilrrr'Ú
defusedxmlrr¬Ú TYPE_CHECKINGrrrÚtypesrrrÚ    getLoggerr r±ÚRuntimeWarningrrUr(r*r”r,r-rÁrÀrÇr r·rØrµr0r>rErGrHrIrJrKrqrPrVrZÚmodulesÚmoduleÚitemÚsetattrrˆr¡r*r_ÚFILTEREDÚ HUFFMAN_ONLYÚRLEÚFIXEDÚmmapÚxml.etree.ElementTreer`ÚIPython.lib.prettyrarbrcrdrerfÚ_typingrgrhrirkrlrnrorprqrrrsÚ    byteorderÚ_ENDIANr…ÚMODESr;rœrŸr¡r£rªr­r¹rÈrÏrÑrôrörwÚABCrQrñr3rrtr=r?rDrQrVrXr[rIrÝrÀrJr}rrƒr±r‡rŠrŽrr“r–r˜ršrrŸr¡r¥r¨r«r¼ÚregisterÚ clear_cacheÚ    _ExifBaserr#r$r%ú<module>r9sGðö6#ã
Û ÛÛ    ÛÛ Û    Û    Û Û
ÛÛÝ*Ýß%Ñ%÷
÷÷)Ñ(Ý!ß)à ÓðÝ&ð€ Ùß<Ñ<Ý ß#à    ˆ×    Ñ    ˜8Ó    $€ô    ˜~ô    ô    ˜Yô    ð$АtÓ#ñ #Ð#?Ó@А*Ó@ð
õ #à‘g˜dÐ$4°dÓ;Ò;ð Ù$ TÐ+;¸TÓBÐCðDØ*˜mð -ð     ñ
˜#ÓÐð <ô<ôô ô ôôð‡NNCØ×јØ×јØ×јØ×јð ÐôˆWôôˆgôô
ˆwôð
‰XÑ    €Ø ˜     :¨v°wÀÐ Iò/€DØò/ˆÙ˜Ÿ    ™     4§:¡:Õ.ñ/ð/ñ
 ˆ4Ð#Ô$Ø×,Ñ,ÐØ}‰}€HØ×$Ñ$€LØ
(‰(€CØ J‰J€Eð € ÙÛÝ-å0çPÕPß@Ñ@Ø€€IÓðð ðóð€€nÓØCE€Ð@ÓEØGI€Ð
DÓIØ€    ˆ>ÓØ13€Ð
.Ó3Ø13€Ð
.Ó3ð
—‘ (Ò*‰#°€óò    €ð2 I€    ó
,ó    ,ó )ó.ð€ ó*óZð@GIð(Ø
ð(Ø ð(Ø(+ð(Ø4Cð(à.ó(ð4GIð(Ø
ð(Ø ð(Ø(+ð(Ø4Cð(à.ó(÷:'Lñ'LðTQØ
FðQàóQô.hô.÷ p&'ñp&'ônM ˜Ÿšô ô  ˜CŸGšGô  ó(ð,56ð.1Ø
ð.1à
%ð.1ð 2ð.1ð ó    .1ðjð    +Ø
ð+à
ð+ð 5ð+ðð    +ð
ð +ð  ó +ðdð    ;;Ø
ð;;à
ð;;ð )ð;;ðð    ;;ð
ð ;;ð  ó ;;ô|$˜Xô$ô    $ (ô    $ôT=ðn1Ø    $ð1Ø,/ð1Ø7Fð1à
ó1óh"ó#ððc˜5 "Ð%ððc˜3  Ð&ð    ð
c˜5 "Ð%ð ð c˜6 2Ð&ð ðc˜7 BÐ'ððc˜7 BÐ'ððc˜8 RÐ(ððc˜6 2Ð&ððc˜7 BÐ'ððc˜7 BÐ'ððc˜8 RÐ(ððc˜7 BÐ'ððc˜8 RÐ(ðð c˜7 BÐ'ð!ð"c˜8 RÐ(ð#ð$˜˜t d¨D \Ð2ð%ð&˜ Ò'>Ð?ð'ð(˜ Ò)AÐBà ˆy˜ˆ^Иs C¨˜nØ ˆy˜ˆ^Иs C¨˜nñ/Ðó6
ð.Ø26ðy&Ø"ðy&à
ðy&ð0ðy&ðó    y&ó@ :ó7ó.ó"  ó CðJ48ð Ø ðð    $ðð 1ð ð
óó.  ð
Ø ð
ØDð
à    ó
ð "Ø ð "ØDð "à    ó "ó.ó    *óó
ó
ó"%ð GØ
ð GØ#Dð GØORð Gà
ó Gó8ó4ó4ô.ñ>ÔØ€‡‚× Ò Ô!ñؘs C˜xÑ(Ià€IôLˆ9õLøðqwò؃KðûðTò
á
ˆ1ƒv×ÑÐ/Ô0ð    ˆ ‰ Ø MØ ô    
ð
ñ    
ˆQ‹×    Ñ    Ð3Ô    4؈ ‰ ‘c˜!“f˜nÔ-ð
ûð
ús+Á<SÃ+SÓS Ó S ÓT6ÓAT1Ô1T6