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

[REBOL] Re: Can Rebol Do?. (was) Re: International REBOL Use

From: belymt:saunalahti:fi at: 4-May-2001 10:24

>Atachment easy, Sterlings %attach.r in the script-library. >Pdf? I found nothing ready i know not much about it. >Some kind of postscript with some packing? grin
In my original implementation idea I'm going to Hand-code PS (it's yet another programming language, looks related to Forth) and then find some Linux tool (Ghostscript package has tool named ps2pdf and it's part if standard Linux RH7) to convert it into PDF.. I know it's possible to use some 3:rd part library to make PDF directly within PHP but those libraries have such high licensing fees they don't fit into this project. (not my fault, I did not sell this idea it to customer, I would have just offered plain ascii E-mail ;-)
>Use your pdf-tools with /Pro /Command? >Or php calling some rebol-scripts? >Call the tools for php, make the files, >then call a caller for %attach.r (args..) >(since it sounds the attaching is a project in php :) > >Hm, with postscript the email would look like > > ...lots of stuff... > {line 1 of email} show-somehow > {line 2 of email} show-somehow > ... > size-of-pic > pic-somehow-encoded
This is the tricky part.. Image encoding must be direct hex stream (1,2,4 or 8 bits per pixel, greyscale) ... This is not what I want to do with PHP. (it's good on many things.. ;)
> swipswopswap show-picture-somehow > ... goddbye and that ... > >if pdf is text this looks like a >template with some placeholders, >where rebol can paste in this stuff? > >hm. if /view could dump its faces to pdf.. dreaming
Hmm.. Dumping them on PS would help too.. Joanna