[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AW: Rendering onto background image
From: |
Burgwedel Friedrich |
Subject: |
AW: Rendering onto background image |
Date: |
Thu, 8 Jun 2000 09:39:11 +0200 |
I think you should use:
(pen.red (x) + background.red (4-x)) / 4
Try:
(pen.red (x*x) + background.red (16-x*x)) / 16
This will sharpen the border between pen color and background color.
Friedrich
----------
Von: John Houston[SMTP:address@hidden
Gesendet: Mittwoch, 7. Juni 2000 20:44
An: address@hidden
Betreff: Rendering onto background image
Hi,
I previously posted a message regarding
rendering onto a background image and indicated
that, to blend, I was using :
(pen.red( x) + background.red( 1-x)) /x
where x is the number in the glyph pixmap ( 0-4),
for each color component
I am acutally using
(pen.red( x) + background.red( 4-x)) /x
and getting results that are not as good as I would
like ( see attachment for example )
Any input would be appreciated,
Thanks,
John
<<File: chnl_25000012.gif>>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- AW: Rendering onto background image,
Burgwedel Friedrich <=