mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Changed grabclipboard()
to use PNG compression on macOS
Before, a lossy JPG compression was used.
This commit is contained in:
parent
594fbf79b8
commit
f72dd8576e
|
@ -102,7 +102,7 @@ def grabclipboard():
|
||||||
+ filepath
|
+ filepath
|
||||||
+ '" with write permission)',
|
+ '" with write permission)',
|
||||||
"try",
|
"try",
|
||||||
" write (the clipboard as JPEG picture) to theFile",
|
" write (the clipboard as «class PNGf») to theFile",
|
||||||
"end try",
|
"end try",
|
||||||
"close access theFile",
|
"close access theFile",
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user