Bitmap images (development): Difference between revisions
From FreeMind
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
There is a requirement to let mind maps contain bitmap images. Word processors store their bitmap images in their files. | |||
== | ==The storage of bitmap images== | ||
===Solution 1: Storing the images in the XML=== | |||
The images shall be stored at as binary data in a node, like | |||
<pre><node TYPE="image" BINARY="x4543edvc...45ert"/></pre> | |||
Upon creation of node view, temporary file shall be created, and HTML viewer of the JLabel shall point to that file. | |||
Upon editing, external image editor shall be opened to edit the temporary file, like Gimp. | |||
TODO: how FreeMind applet shall deal with these images. | |||
===Solution 2: Storing the images like ...=== | |||
... | |||
===Requirements=== | |||
* The mind maps shall be fast to load and save. | |||
* The image function shall work in FreeMind applet. | |||
[[Category:Development]] | [[Category:Development]] |
Revision as of 08:33, 13 August 2007
There is a requirement to let mind maps contain bitmap images. Word processors store their bitmap images in their files.
The storage of bitmap images
Solution 1: Storing the images in the XML
The images shall be stored at as binary data in a node, like
<node TYPE="image" BINARY="x4543edvc...45ert"/>
Upon creation of node view, temporary file shall be created, and HTML viewer of the JLabel shall point to that file.
Upon editing, external image editor shall be opened to edit the temporary file, like Gimp.
TODO: how FreeMind applet shall deal with these images.
Solution 2: Storing the images like ...
...
Requirements
- The mind maps shall be fast to load and save.
- The image function shall work in FreeMind applet.