Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

base conversion

 [1/2] from: ptretter::charter::net at: 7-Aug-2001 14:35

I have a bunch of data in an email which is a picture of my sister and I want to use REBOL to convert it. Here is the details: Content-Type: image/jpeg; name="sis13.JPG" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="sis13.JPG" How do I handle all the data that follows that section. Paul Tretter

 [2/2] from: arolls:bigpond:au at: 10-Aug-2001 3:05

I had a similar problem. I forget how, exactly, but I copied from in between the "begin" and "end" tags into a text file, then I experimented with 'debase to convert it to the data it's supposed to be. Then write/binary file data. 'enbase and 'debase use base64 by default so it's easy.