On Thu, 9 Oct 1997, J.R.Suckling wrote:
> I found mpack on ftp://ftp.andrew.cmu.edu/pub/mpack/
>
> Is this that you are talking about stewart?
> It seems to make mime format as the output.
> below is an example of what mpack produces.
>
> Do I take the binary data( I deleted all but two lines in
> the data below) and put it in a quoted string for tcl/tk
> to process.
>
> Jim, Could you send mt a small example when you get it to
> work. I do not have the time right now to puzzle it out.
> But I have wanted to do this for quite some time. Thanks.
>
> mpack sample output below this line.
> ________________________________________________________________
> Message-ID: <[EMAIL PROTECTED]>
> Mime-Version: 1.0
> Subject: bk1.gif
> Content-Type: multipart/mixed; boundary="-"
>
> This is a MIME encoded message. Decode it with "munpack"
> or any other MIME reading software. Mpack/munpack is available
> via anonymous FTP in ftp.andrew.cmu.edu:pub/mpack/
> ---
> Content-Type: image/gif; name="bk1.gif"
> Content-Transfer-Encoding: base64
> Content-Disposition: inline; filename="bk1.gif"
> Content-MD5: t4iCHcmzJaBc4e26WDtAxA==
>
> R0lGODdhQwFaAfQAAKsAqwAAAEwATBkAGYMAg2gAaDEAMZsAm7kAuaMAo5MAk7IAsosAi3EA
> <many lines deleted>
> ihaK0wpymEirqEieiZHIiZjSqYxOiM9MiNd3pdf7mJkzuNmGiY4hmZmZiEthgAAOw==
I did this for the Tclets and only used the portion:
> R0lGODdhQwFaAfQAAKsAqwAAAEwATBkAGYMAg2gAaDEAMZsAm7kAuaMAo5MAk7IAsosAi3EA
> <many lines deleted>
> ihaK0wpymEirqEieiZHIiZjSqYxOiM9MiNd3pdf7mJkzuNmGiY4hmZmZiEthgAAOw==
I think you can see this in the tclet draw demo:
set img(line) {
R0lGODdhKAAoAPUAAAAAADj4MEDsMEjkMFBQ+FDcMFjQMGDIMGjAMHB0cHC4MHikOHisMIB8
eICAgICcOIiQOJCIOJiAOKB4OKC0yKDEyKgoGKhsOLBkOLhcOLi4uMBQOMDAwMhIOMjEwNBA
ONg4ONh8eOAsOOC4gOgkOPAcOPC4OPgUQPiIOPj8+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAAKAAoAAAG
f8CUcEgsGo/IpHLJbDqf0Kj0CKhOo9Us4NrUerlJrxhc1KbM5yw5vRV+2e2r2t22DtFYO31f
jj/nd3F6XICBhmCFh2xrVH5pjEaDj5BEkpOUl4qUlplrnJ1kn4mIjpWlhKd8jJ+qoamtmJGs
sbOYtbavtLm4sb2+v8DBwsPEv0EAOw==
}
-stewart-
---------------------------------------------------------------------------
To unsubscribe from the Visual Tcl mailing list, please send a message
to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
message body (where [EMAIL PROTECTED] is your e-mail address).