Hi all,<br><br><div><span class="gmail_quote">On 6/7/06, <b class="gmail_sendername">Rob Taylor</b> &lt;<a href="mailto:robtaylor@floopily.org">robtaylor@floopily.org</a>&gt; wrote:<br><br>The image *does not* have to be base64 encoded, you can send binary
<br>blobs over DBus as an array of bytes. base64 encoding just wastes time,<br>memory and power ;)<br><br></span></div>This is not that simple,  send base64&nbsp;via&nbsp;dbus&nbsp;is&nbsp;not&nbsp;a&nbsp;good&nbsp;ideia,&nbsp;but&nbsp;connection&nbsp;managers&nbsp;will&nbsp;receive&nbsp;it&nbsp;anyway, decode&nbsp;it&nbsp;and send&nbsp;it&nbsp;over&nbsp;dbus.&nbsp;This&nbsp;will&nbsp;require&nbsp;some&nbsp;buffers&nbsp;and&nbsp;in&nbsp;a&nbsp;big&nbsp;contact&nbsp;list&nbsp;it&nbsp;is&nbsp;a&nbsp;big&nbsp;chance&nbsp;to&nbsp;have&nbsp;memory&nbsp;leaks&nbsp;or&nbsp;crashs.&nbsp;So&nbsp;maybe&nbsp;its&nbsp;a&nbsp;better&nbsp;idea&nbsp;to&nbsp;sent&nbsp;the&nbsp;raw&nbsp;data and the&nbsp;encode&nbsp;type&nbsp;than application will know how to decode&nbsp;it.&nbsp;Also&nbsp;would&nbsp;be&nbsp;good&nbsp;to&nbsp;think&nbsp;on&nbsp;this&nbsp;funcion&nbsp;as&nbsp;a&nbsp;generic&nbsp;file&nbsp;transfer&nbsp;too.