mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-06-07 01:48:34 +02:00
This may work, unfortunately I don't have test apps that fail.
The way it works is by using an NSImage class initWithPasteboard:
method, which we then get the TIFFRepresentation of, and convert
to PNG or JPEG.
The TIFFRepresentation uses NSTIFFCompressionNone; which should be
lossless.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| app-main.m | ||
| main.m | ||
| Makefile.am | ||
| pbproxy.h | ||
| trick_autotools.c | ||
| x-input.m | ||
| x-selection.h | ||
| x-selection.m | ||