mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 01:16:16 +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
|
||||
+ '" with write permission)',
|
||||
"try",
|
||||
" write (the clipboard as JPEG picture) to theFile",
|
||||
" write (the clipboard as «class PNGf») to theFile",
|
||||
"end try",
|
||||
"close access theFile",
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue
Block a user