[MOBY-dev] working with images
Sebastien Carrere
Sebastien.Carrere at toulouse.inra.fr
Wed Jul 23 09:10:04 UTC 2008
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Sebastien_Carrere.vcf
Type: text/x-vcard
Size: 387 bytes
Desc: not available
URL: <http://lists.open-bio.org/pipermail/moby-dev/attachments/20080723/2d0b6489/attachment-0002.vcf>
More information about the MOBY-dev
mailing list