At 06:17 PM 1/28/2002 +0100, Henning Hraban Ramm wrote:
>Is it possible to "colorize" bitmap or greyscale images with ConTeXt?
no
>e.g. I use a bitmap logo that should show exactly the same color as defined
>for backgrounds. If I define the "same" color with PhotoShop it looks
ah, so it's tuned for some kind of paper
>slightly different. Further I'd like to place it white on color.
>
>I know that at least PDF 1.4 enables such with "DeviceN" colorspaces,
>but I found no way to do it with ConTeXt.
many features of pdf can be applied (for instance, here i have a
rudimentary system for outline fonts, but i still need to adapt the color
driver for independent stroke and fill colors at the user level, some day
...; btw: quite funny to be able to search for invisible text).
>It should as easy as in other functions to assign foreground and background
>color, maybe even transparency?
when i browsed the specs some time ago i got the impression that this is
doable, but so far i didn't need it (although i will probably need it
soon). Building ther sources is trivial (once i understand it) and we can
probably hook things into the resource dict of graphics, but cooking up a
proper interface will take me some time. We can look into the specs at the
coming dante meeting to see what can be done.
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
fall-back web server:
www.pragma-pod.nl
-------------------------------------------------------------------------