[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
Thanks for your suggestion, Anton ~
problem persists, though:
Test the logo to see if good:
>> logo: load %/c/logo.r
>> 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?