On Fri, 2007-12-28 at 17:39 -0500, Ales Hvezda wrote:
> [snip]
> >Do I have you're approval to change the embedding format to base64
> >encoding of the raw image file? (This is backed with my usual argument
> >that no officially released versions have had this code working to the
> >point where images embedded in the old format could be read back.)
> 
>       By all means, we should fix that for this release.

Work in progress is here:

http://repo.or.cz/w/geda-gaf/pcjc2.git

The basics of the functionality work, I just need to test it some more
and fill in the code to replace the pixmap after an embed / unembed
operation.

Part of me says this is pointless (as libgeda doesn't / can't push a
redraw into gschem), but doing it does allow the option of a redraw in
gschem picking up any changes to the image file.

Since the image file data is stored at the time the user asks to embed,
rather than when the image is first loaded, there may have been changes
on disk. The embedded data will reflect those changes, so I guess its
only right that we update the pixmap in memory.

I guess a redraw after embed / unembed won't hurt, so I will probably
push a patch to add that too.

Best wishes,

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)



_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to