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 8d048cfa956f4a0860250cc836a6748912b37ad8) |
||
---|---|---|
.. | ||
Makefile.am | ||
app-main.m | ||
main.m | ||
pbproxy.h | ||
trick_autotools.c | ||
x-input.m | ||
x-selection.h | ||
x-selection.m |