Hi,
Hello
I wondered for some time how to add an "embed" checkbox to the import
dialog, but it wasn't necessary - I used the extension parameters
feature.
I fixed the embedding of images in the following way:
1. If a bitmap file is imported, a dialog appears that asks the user
whether to link. (Same when opening a bitmap image.)
2. When a bitmap file URI is dragged over Inkscape's window, a dialog
appears as in 1.
3. When pixel data is dragged over Inkscape's window, it is embedded
an no dialog is shown.
4. When a bitmap file URI is pasted, nothing happens (for now) -
that's because the clipboard doesn't support URI lists yet.
5. When pixel data is pasted, it is embedded as in 3.
As a bonus, all bitmap import should now use the same code path.
Regards, Krzysztof
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@...1794...s.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel