From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36349 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Background colour of included PDF images Date: Sat, 1 Sep 2007 15:51:22 +0200 Message-ID: <20070901155122.8596f608.schuster.wolfgang@googlemail.com> References: <20070901124938.GA29769@localhost> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1188654824 760 80.91.229.12 (1 Sep 2007 13:53:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 1 Sep 2007 13:53:44 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 01 15:53:43 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1IRTPv-0003P9-89 for gctc-ntg-context-518@m.gmane.org; Sat, 01 Sep 2007 15:53:39 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8AE4820291; Sat, 1 Sep 2007 15:53:38 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09105-01; Sat, 1 Sep 2007 15:53:38 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E5DAB202A2; Sat, 1 Sep 2007 15:51:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 584CE202A2 for ; Sat, 1 Sep 2007 15:51:38 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08367-01-8 for ; Sat, 1 Sep 2007 15:51:31 +0200 (CEST) Original-Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.189]) by ronja.ntg.nl (Postfix) with ESMTP id A3F052027F for ; Sat, 1 Sep 2007 15:51:31 +0200 (CEST) Original-Received: by mu-out-0910.google.com with SMTP id g7so1033795muf for ; Sat, 01 Sep 2007 06:51:31 -0700 (PDT) Original-Received: by 10.86.23.17 with SMTP id 17mr1684414fgw.1188654690752; Sat, 01 Sep 2007 06:51:30 -0700 (PDT) Original-Received: from eve ( [217.185.122.253]) by mx.google.com with ESMTPS id 28sm1520790fkx.2007.09.01.06.51.27 (version=SSLv3 cipher=OTHER); Sat, 01 Sep 2007 06:51:28 -0700 (PDT) In-Reply-To: <20070901124938.GA29769@localhost> X-Mailer: Sylpheed 2.4.4 (GTK+ 2.10.13; i686-pc-mingw32) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:36349 Archived-At: On Sat, 1 Sep 2007 18:19:38 +0530 Kumar Appaiah 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 ___________________________________________________________________________________