ACTION-2833: Investigate Inkscape SVG on clipboard usage
Investigate Inkscape SVG on clipboard usage
- State:
- open
- Person:
- Tavmjong Bah
- Due on:
- September 10, 2010
- Created on:
- September 3, 2010
- Related emails:
- Minutes Paris F2F day 1 (September 3, 2010) (from anthony.grasso@cisra.canon.com.au on 2010-09-04)
Related notes:
Inkscape uses the GTK toolkit which uses mimetypes to tag clipboard content. These are the types that Inkscape advertises (from ui/clipboard.cpp):
// push supported clipboard targets, in order of preference
_preferred_targets.push_back("image/x-inkscape-svg");
_preferred_targets.push_back("image/svg+xml");
_preferred_targets.push_back("image/svg+xml-compressed");
#ifdef WIN32
_preferred_targets.push_back(CLIPBOARD_WIN32_EMF_MIME);
#endif
_preferred_targets.push_back("application/pdf");
_preferred_targets.push_back("image/x-adobe-illustrator");
Update: GTK doesn't require use of mimetype... but it is a convention used by most applications.
Inkscape also advertises image/png, image/x-gdk-pixbuf, and text.
Display change log.