Summary: | Copy Image contextual menu item copies png images as tiff | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jeff Johnson <opendarwin> |
Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW --- | ||
Severity: | Normal | CC: | ap, karlcow, sabouhallawa, webkit-bug-importer, wenson_hsieh |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 17 | ||
Hardware: | Unspecified | ||
OS: | macOS 13 |
Description
Jeff Johnson
2024-05-01 16:55:11 PDT
This is problem when the paste targe is expecting a png. When copying the above PNG image, these are the formats which get published to the pasteboard by different browsers: WebKit/Safari: public.tiff WebURLsWithTitlesP-boardType Apple URL pasteboard type public.url public.url-name public.utf8-plain-text com.apple.flat.rtfd com.apple.webarchive Chrome: public.png public.html org.chromium.source-url FireFox: public.png public.tiff public.html I think these formats get published by WebKit in this function: void Pasteboard::write(const PasteboardImage& pasteboardImage) |