
Off by default, meaning, unless the user changes a setting, it will always embed images? For my purposes, i.e. permanent effects on bitmaps, I think I should keep the format that the image is already in. If the user wants to embed an image, he can do so easily with the python extension.
Python extension? I'm confused. Yes the idea is to embed images into the SVG by default. As far as I know that doesn't change anything about their format.
As for the editing problem: I believe that editing an image would be introduced by double-clicking the image. When the linked image has no write access, a message should show up:
Right now I'm using the Extensions menu. What is the advantage to double-clicking, and how do you picture the interface?
I thought introducing image editing capabilities meant embedding a little GIMP. Hence you need a interface with similar buttons as the GIMP. The most intuitive way to switching to such an interface (like adjusting the top toolbar) is a double-click (plus a menu item plus maybe something in the main toolbar).
"The image cannot be edited because you do not have writing access to the linked file. Would you like to embed the image in the the document to continue editing?"
Yes, but only if the setting is changed to not embed. By default, it just gets silently embedded and no warning is needed.
I disagree! If in a document there is a non-embedded image, this warning should always appear! By default no images will be linked so therefore the dialogue will not appear. Acutally a similar dialogue should be shown for _all_ embedded image, as a warning that this changes the original image.
As far as writing over the original image, I would never do that. For image.jpeg, right now I'm creating a copied image at image_orig.jpg, unless image_orig.jpg is taken, at which point I ask the user for somewhere to save the new image, unless the image_orig.jpg which already exists is equivalent to image.jpeg. Back when I used Windows, that was how Picasa handled the issue, and I thought it would work for me too. (Also, I ask the user for a new location if image_orig.jpg and/or image.jpeg are unwriteable.)
Why not, if you want to warn the user?
David