Re[6]: [REBOL] Re: pdf-maker.r errors
From: g:santilli:tiscalinet:it at: 25-Apr-2002 13:02
Hi Graham,
you wrote:
GC> Here's your reminder :)
I just had a look at it. My answer so far: it's a mystery. The
REBOL code seems to be working as expected (I also verified that
there are no bugs in REBOL in this regard, with:
view l: layout [
image testimage feel [engage: func [f a e] [
l/color: pick testimage e/offset/y * testimage/size/x + e/offset/x + 1 show l
]
]
]
which works correctly). Also, it is not related to the size of the
image, since scaling it up or down does not make any difference.
In PDF Maker I'm basically doing:
foreach [b g r a] img [
insert insert insert tail data r g b
]
which AFAIK is working correctly (tried with PICK instead of
FOREACH too, but got the same result). I can't see any problem
with that... So, either the problem is somewhere else in my code
(will check later), or there's something I misread about the PDF
spec, or it's a problem in the Acrobat Reader (will check with
Ghostscript later).
Let me know if you have any idea, of if you find another image
which gives the same problem.
Regards,
Gabriele.
--
Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer
Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r