mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 04:07:21 +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