[MOBY-dev] working with images

Andreas Groscurth groscurt at mpiz-koeln.mpg.de
Wed Jul 23 09:36:25 UTC 2008


Hi,

thanks for that - i forgot to mention i'm looking for a java solution ;-)
but your hint of encode in Base64 made me google again and found the 
apache.commons.codec and it works.

Thanks for the hint :)
Andreas

Sebastien Carrere wrote:
> Hi Andreas,
>
> In my web services (written using PlayMoby , then Perl), I use the 
> module MIME::Base64 
> (http://search.cpan.org/~gaas/MIME-Base64-3.07/Base64.pm).
>
> I just make a cat on my picture file, and encode the result in Base64, 
> then add it to my Moby String content.
>
>
> Sebastien
>
>
>
>
>
> Andreas Groscurth wrote:
>> Hi,
>>
>> i try to figure out how to transfer images via Web Service in moby....
>>
>> E.g. i use the b64_encoded_jpeg. It has the children 'content' which 
>> requires a String, so i need to somehow encode/decode the image file 
>> so that it can be transmitted as a String  and the client can read it 
>> as an image (which is somehow done via MobyDataBytes)...
>>
>> how to do that ?
>>
>> thanks
>> Andreas
>> _______________________________________________
>> MOBY-dev mailing list
>> MOBY-dev at lists.open-bio.org
>> http://lists.open-bio.org/mailman/listinfo/moby-dev
>
> _______________________________________________
> MOBY-dev mailing list
> MOBY-dev at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/moby-dev
>   




More information about the MOBY-dev mailing list