ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: ntg-context@ntg.nl
Subject: Re: Background colour of included PDF images
Date: Sat, 1 Sep 2007 15:51:22 +0200	[thread overview]
Message-ID: <20070901155122.8596f608.schuster.wolfgang@googlemail.com> (raw)
In-Reply-To: <20070901124938.GA29769@localhost>

On Sat, 1 Sep 2007 18:19:38 +0530
Kumar Appaiah <akumar@ee.iitm.ac.in> wrote:

> Dear ConTeXt users,
> 
> I am making a presentation using ConTeXt, and wish to use some plain
> images. I am running into some trouble, especially with the background
> colour of the image, which I wish to force. Here is some information:
> 
> 1. I make the image using Dia, and export it.
> 2. I include the EPS directly, and Acrobat doesn't like it.
> 3. I epstopdf the images, they come otu well, except that they are
>    transparent and the images with black text and lines looks bad on
>    my dark background presentation.
> 
> I partially worked around the problem by using background=screen in my
> \useexternalfigure calls. However, I have a combination image, where
> the second image comes without the white filled background.
> 
> Could you please tell me a way to force the background colour of my
> images to white? I really don't want to convert it to PNG or
> something, since PNG doesn't look nice after scaling, does it? :-)
> 
> Thanks in advance.

Hi Kumar,

you are not restricted to a gray background in your figures, you can
also use colors.

\externalfigure[...][background=color,backgroundcolor=white]

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2007-09-01 13:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-01 12:49 Kumar Appaiah
2007-09-01 13:51 ` Wolfgang Schuster [this message]
2007-09-01 14:28   ` Kumar Appaiah
2007-09-01 15:26     ` Wolfgang Schuster

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=20070901155122.8596f608.schuster.wolfgang@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --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).