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

[REBOL] Re: PDF-Maker V1 and images

From: kpeters:otaksoft at: 14-Aug-2007 20:31

On Tue, 14 Aug 2007 14:51:26 +1000, Anton Rolls wrote:
> I don't think PDF-MAKER supports base-64 encoded > images. You must pass it an image. > LOGO is a binary!, with the jpeg inside, so try > LOADing it a second time to make it an image!. eg: > > logo: load load %/c/logo.r > > Regards, > > Anton.
Thanks for your suggestion, Anton ~ problem persists, though: Test the logo to see if good:
>> logo: load %/c/logo.r
== #{ FFD8FFE000104A46494600010101012C012C0000FFE100164578696600004D4D 002A00000008000000000000FFDB00430005030404040305040404050505...
>> write/binary %/c/new.jpg logo
yes, Gimp thinks it's perfectly fine build-page: function[ rec [object!]][ tmp ] [ logo: load load %/c/logo.r [ ; each page must be a block page size 215.9 279.4 ; image 20 100 100 60 logo still gives the same error as before, though I now do see the top part of the logo with a big black box (presumably of the image size I specified?) below. Any more ideas? Thanks, Kai