From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39153 Path: news.gmane.org!not-for-mail From: Alan BRASLAU Newsgroups: gmane.comp.tex.context Subject: 16-bit png Date: Thu, 14 Feb 2008 11:08:20 +0100 Organization: CEA DSM-DRECAM-SPEC Message-ID: <200802141108.21390.alan.braslau@cea.fr> 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: ger.gmane.org 1203061462 9212 80.91.229.12 (15 Feb 2008 07:44:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Feb 2008 07:44:22 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Feb 15 08:44:46 2008 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 1JPvFR-0003au-29 for gctc-ntg-context-518@m.gmane.org; Fri, 15 Feb 2008 08:44:41 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E00E11FC93; Fri, 15 Feb 2008 08:44:07 +0100 (CET) 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 26727-01-3; Fri, 15 Feb 2008 08:43:28 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 83DA41FC21; Fri, 15 Feb 2008 08:43:28 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D76F41FCE4 for ; Thu, 14 Feb 2008 11:08:55 +0100 (CET) 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 32701-06-10 for ; Thu, 14 Feb 2008 11:08:22 +0100 (CET) Original-Received: from cirse-out.extra.cea.fr (cirse-out.extra.cea.fr [132.166.172.106]) by ronja.ntg.nl (Postfix) with ESMTP id B868F1FCB1 for ; Thu, 14 Feb 2008 11:08:22 +0100 (CET) Original-Received: from cyclose1.extra.cea.fr (cyclose1.extra.cea.fr [132.167.198.22]) by cirse.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-1.0) with ESMTP id m1EA8Mtg010420 for ; Thu, 14 Feb 2008 11:08:22 +0100 Original-Received: from orpin2.extra.cea.fr (orpin2.extra.cea.fr [132.167.198.5]) by cyclose1.extra.cea.fr (8.13.8/8.13.8) with ESMTP id m1EA8LZP015846 for ; Thu, 14 Feb 2008 11:08:22 +0100 (envelope-from alan.braslau@cea.fr) Original-Received: from dogger.extra.cea.fr (dogger.saclay.cea.fr [132.166.21.4]) by orpin2.extra.cea.fr (8.13.8/8.13.8/CEAnet-Extranet-out-1.0) with ESMTP id m1EA8LAZ032484 for ; Thu, 14 Feb 2008 11:08:21 +0100 User-Agent: KMail/1.9.7 Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-Mailman-Approved-At: Fri, 15 Feb 2008 08:43:27 +0100 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:39153 Archived-At: Hello, I am having problems including 16-bit png files in ConTeXt. In the following example, red.png is a 800x600 image of red pixels. The resulting test.pdf shows a BLACK rectangle. (The same problem exists with real images.) However, I can produce the desired result with my installation under pdflatex... $ cat test.tex \starttext \externalfigure[red][width=\textwidth] \stoptext $ file red.png red.png: PNG image data, 800 x 600, 16-bit/color RGB, non-interlaced $ texexec test $ cat test2.tex \documentclass{article} \usepackage{graphicx} \begin{document} \includegraphics[width=\textwidth]{red} \end{document} $ pdflatex test2 My distribution (debian + texlive) uses This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) in both cases. Does this have something to do with \pdfimagehicolor? Thank you ___________________________________________________________________________________ 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 ___________________________________________________________________________________