ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: colorizing
Date: Tue, 29 Jan 2002 21:01:16 +0100	[thread overview]
Message-ID: <5.1.0.14.1.20020129205315.02b02f68@server-1> (raw)
In-Reply-To: <200201281717.g0SHHQw01088@nathir.fiee.lan>

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
-------------------------------------------------------------------------


  reply	other threads:[~2002-01-29 20:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-28 17:17 colorizing Henning Hraban Ramm
2002-01-29 20:01 ` Hans Hagen [this message]
2002-02-02 18:44   ` colorizing Henning Hraban Ramm
2002-02-03 18:22     ` colorizing Hans Hagen
2002-02-04 19:19       ` colorizing specs Henning Hraban Ramm
2002-02-05  8:39         ` Hans Hagen
2002-02-05 17:25           ` Henning Hraban Ramm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5.1.0.14.1.20020129205315.02b02f68@server-1 \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).