xserver: Branch 'xorg-server-1.4-apple'
Jeremy Huddleston
jeremyhu at berkeley.edu
Mon Oct 27 16:33:56 PDT 2008
On Oct 27, 2008, at 15:41, George Peter Staplin wrote:
> hw/xquartz/pbproxy/x-selection.h | 1
> hw/xquartz/pbproxy/x-selection.m | 209 +++++++++++++++++++++++++
> +-------------
> 2 files changed, 141 insertions(+), 69 deletions(-)
>
> New commits:
> commit 8d048cfa956f4a0860250cc836a6748912b37ad8
> Author: George Peter Staplin <gps at Georges-Workstation.local>
> Date: Mon Oct 27 16:34:24 2008 -0600
>
> XQuartz: pbproxy: Add code to handle PICT conversion to PNG and
> JPEG.
I'm wondering if we should also support image/tiff image/bmp and image/
svg+xml in our X11 types. I'm not sure how to best handle vector
graphics in the syncing... but it's worth keeping on the burner.
> This may work, unfortunately I don't have test apps that fail.
Just try disabling the Tiff support so we fall back on Pict! ;)
> 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.
This is a pretty good solution for handling images in the pasteboard
in general..
> The TIFFRepresentation uses NSTIFFCompressionNone; which should be
> lossless.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3040 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/xorg-commit/attachments/20081027/873ac1dc/attachment.bin
More information about the xorg-commit
mailing list