-
-
Notifications
You must be signed in to change notification settings - Fork 18
Description
The XML-Ipe file format is pure text and can nicely be stored in git, but including images breaks that. Also, auto-saving is very slow for documents with images, as they are stored in text format in an XML-document.
Ipe should support images that remain external. We cannot just store the source path of the image, because images can be brought into Ipe through copy-paste, and different platforms support different file formats for image import.
One simple idea could be:
For image "figure.ipe", there can be a parallel directory "figure.images", that contains the bitmaps in PNG or JPG format. Ipe copies them there when the image is imported into Ipe, using either the last component of the filename or creating a unique name. The images are read when Ipe loads the document (to display them), but otherwise never touched.
This has no effect on PDF documents: they continue to store all images (as they are needed in the PDF output anyway).