[MOBY-dev] working with images

Martin Senger martin.senger at gmail.com
Wed Jul 23 09:22:19 UTC 2008


> i try to figure out how to transfer images via Web Service in moby....


You can look for an example in the
org.biomoby.service.dashboard.renderers.Base64Image.java. This example does
opposite thing that you want, but it is still the same. I used there the
library coming with Axis (which is used by BioMoby anyway, so it is not an
additional dependency):

import org.apache.axis.encoding.Base64;

The example uses method decode() - and you need to use encode() (I guess).

Cheers,
Martin

-- 
Martin Senger
email: martin.senger at gmail.com,m.senger at cgiar.org
skype: martinsenger



More information about the MOBY-dev mailing list