Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Where in the pipeline is the transfer function applied?

11 views
Skip to first unread message

luser- -droog

unread,
Jan 10, 2012, 3:12:37 AM1/10/12
to
We know it's possible to make a negative line-drawing by prefixing

clippath fill
{1 exch sub} settransfer

But where in the pipeline does the transfer apply?
Does it affect the rendering performed by the image operator?
Is there an analogous mechanism for colorimage?

bugbear

unread,
Jan 10, 2012, 4:21:45 AM1/10/12
to
If you're working on a typesetter with a calibrated transfer curve,
this is not a good idea.

BugBear

François Robert

unread,
Jan 12, 2012, 3:56:52 PM1/12/12
to
There is a diagram in the Red Book 3rd Edition (Section 4.8 p 212/213)
that answers all those questions.

luser- -droog

unread,
Jan 12, 2012, 4:32:31 PM1/12/12
to
On Jan 12, 2:56 pm, François Robert <francois.d.rob...@gmail.com>
wrote:
Thanks. I've been avoiding the 3rd edition for some time, so as to
focus on the "core" of the language (before the myriad extensions
and elaborations of Levels 2 and 3). But it seems Adobe also
extended and elaborated the explanations of the core features.
So I'll start checking there before bothering everyone. :)

I've modified xpost's implementation of `image` to first create an
8-bit "transfer map" (unsigned char tmap[256]), rather than calling
currenttransfer on every pixel. This makes a constant overhead.

But I'm going to look for a few more things to fix before uploading.

François Robert

unread,
Jan 12, 2012, 5:04:35 PM1/12/12
to
On Jan 12, 10:32 pm, luser- -droog <mijo...@yahoo.com> wrote:
...
> Thanks. I've been avoiding the 3rd edition for some time
...
Well, the same diagram (minus the L3 features) was already present in
the Red Book 2nd ed. (section 4.8, p178/179)...
0 new messages