From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/6730 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: colorizing Date: Tue, 29 Jan 2002 21:01:16 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020129205315.02b02f68@server-1> References: <200201281717.g0SHHQw01088@nathir.fiee.lan> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035397244 13213 80.91.224.250 (23 Oct 2002 18:20:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:20:44 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Henning Hraban Ramm In-Reply-To: <200201281717.g0SHHQw01088@nathir.fiee.lan> Xref: main.gmane.org gmane.comp.tex.context:6730 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:6730 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 | pragma@wxs.nl 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 -------------------------------------------------------------------------