Hi Carlos, >after a long time without hacking on geda, I'm back again! :-)
Woo. Welcome back. :) >I have added support for embedded pictures in the schematic. This >affects both libgeda and gschem. When a picture is embedded in the >schematic, gschem will not need the picture file anymore. The picture >data is stored in the schematic file. Neat. This will be a really useful addition to the way things work now. Thanks for getting this implemented. From my point of view the only thing that is missing from the picture support is including the picture in the PNG output. I really don't know how difficult this is to accomplish (?). >Basically, an embedded picture is serialized, then encoded using base64, >and then stored in the schematic file, at the end of its picture >section. The end of the serialized data is marked with a line containing >only a dot '.' character. I like this approach, especially the part about staying in ASCII. :) [snip] >I added a new file s_encoding.nw, which contains the base64 encoding and >decoding functions. I didn't know exactly where to put them, so I >decided to create a new file. If there is a better place, suggestions >are always welcome.... That's a good place for it. [snip] >As always, suggestions and testing are very welcome. Please, report any >bug you found!. I will spend some time playing with this new functionality tomorrow. Thanks again, Carlos! -Ales