Hi Adib, Ted pointed me at some gdk routines: http://library.gnome.org/devel/glib/unstable/glib-Base64-Encoding.html but my stab at using those is crashing when I try to get the pixel data from the pixbuf to pass to it. I'm also not gonna be somewhere I can code till the new year from tomorrow.
Cheers
John
On 12/22/07, the Adib <theadib@...1439...> wrote:
Hello John, I already did some base64 conversions for my office. One was based on libxmlsec functions and an other based on a simple c-implementation. I will provide you with (somewhere on inkscape helper): guchar *bin_to_base64(void *binbuffer, unsigned int binlen, unsigned int *base64len) and void *base64_to_bin(guchar *base64buffer, unsigned int base64len, unsigned int *binlen) the third parameter will be the length of the allocated buffer.
Does this sounds reasonable?
HTH,
Adib.
On Dec 20, 2007 11:45 PM, john cliff <john.cliff@...400...> wrote:
Have code for rasterising selected objects to a gdk_pixbuf in my sandbox, hoping to use it to make create bitmap copy not need temp files when no external filter is being used (to fix https://bugs.launchpad.net/inkscape/+bug/169108). Just struggling with base64 encoding the pixbuf to be able to inline it.
would welcome some input on that
Cheers
Sim
On 12/20/07, Aaron Spike <aaron@...749...> wrote:
the Adib wrote:
- improve PDF, PS export
- implement blur as bitmap
- need to display an dialog and asking for several options (text to
path, blur as bitmap, alpha as bitmap)
<snip> > Nr. 2) I need help. > I think that two weeks from now (3rd Jan) this will be finished.
Rasterizing filters in PDF would be a huge step toward making PDF output match Inkscape's rendering. If someone has a plan or has started work on this it would be great to get it in, but getting it in as a new feature at this stage probably takes some justification and major developer backing.
Aaron
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel