> In Mac OS and MSWindows, the clipboard can be routinely used to
> transfer graphical data between applications, in addition to
> transferring text data. These OSes have a standard format for that.
> In MSWindows, it's metafile; in Mac OS it used to be PICT
> and is now PDF.

And the ICCM defines how the X11 Clipboard (and the Primary and
Secondary selections too, for that matter) are supposed to work.

Indeed, looking at the list of atoms for the Clipboard format, both
ADOBE_PDF and APPLE_PICT are options, along with various pixel map
formats and so forth. And EPS and PS too, I notice.

> The objective is to allow the user of an FLTK application to
> draw a graphics, to copy it and to paste it to applications
> such as PowerPoint, Word, Illustrator, OpenOffice that can read
> any graphics-loaded clipboard.

Yup. Fair enough. Anybody know what format the gimp reads from the
clipboard? I'm pretty sure I have drag'n'dropped stuff into the gimp
before (though not from fltk) so I wonder how that was done?

> With Mac OS, the clipboard is best loaded with the same graphics data
> in two forms, PDF, used by those applications that know how to
> handle vector graphics, and jpeg, for those, more numerous
> applications, that can only receive an image.

Never jpeg for screen dumps - too many artefacts. Better PNG or BMP or
XPM, that are lossless, and also handle large flat coclour aeas without
DCT effects. BMP / XPM might be the simplest? I suppose XPM for X11, BMP
for win32, that sort of thing?

> Sadly, not much of this is transposable to the X11 platform.

Why not? 

SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to