Re: [NTG-context] 16-bit png

2008-02-15 Thread Aditya Mahajan
Hi Does adding \setupcolors[state=start] at the top of the context file help? Hans, how about enabling colors by default in mkiv? Aditya On Thu, 14 Feb 2008, Alan BRASLAU wrote: Hello, I am having problems including 16-bit png files in ConTeXt. In the following example, red.png is a

Re: [NTG-context] 16-bit png

2008-02-15 Thread Taco Hoekwater
Alan BRASLAU wrote: $ cat test.tex \starttext \pdfimagehicolor=1 \externalfigure[red][width=\textwidth] \stoptext There, fixed that. That setting could go into the context core, though. Does this have something to do with \pdfimagehicolor? I am always surprised how many people

Re: [NTG-context] 16-bit png

2008-02-15 Thread Alan BRASLAU
On Friday 15 February 2008 09:23:12 Taco Hoekwater wrote: Alan BRASLAU wrote: $ cat test.tex \starttext \pdfimagehicolor=1 \externalfigure[red][width=\textwidth] \stoptext There, fixed that. That setting could go into the context core, though. Does this have something to

Re: [NTG-context] 16-bit png

2008-02-15 Thread Hans Hagen
Aditya Mahajan wrote: Hi Does adding \setupcolors[state=start] at the top of the context file help? Hans, how about enabling colors by default in mkiv? i'll give it a thought (I always need to set it myself too -) Hans -

Re: [NTG-context] 16-bit png

2008-02-15 Thread Hans Hagen
can you send taco /me that image? - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 |

Re: [NTG-context] 16-bit png

2008-02-15 Thread Taco Hoekwater
Alan BRASLAU wrote: 1. Of course, I tried \pdfimagehicolor=1 without results before posting the question. Next time, post also that you tried that already ;-) (I would NEVER think about asking for help without trying different possibilities myself...) Are you by chance running an old

Re: [NTG-context] 16-bit png

2008-02-15 Thread Taco Hoekwater
Hans Hagen wrote: can you send taco /me that image? no need. find an arbitrary png image, then run convert -depth 16 ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] 16-bit png

2008-02-15 Thread Taco Hoekwater
Hi, We did a bit of offlist emailing and have now fixed this issue. Because I got confused as well, here is a quick recap with the correct diagnostics, for future reference: The context example actually did work as promised: it included the image in 16-bit color in a PDF 1.5 document. The

Re: [NTG-context] 16-bit png

2008-02-15 Thread Alan BRASLAU
On Friday 15 February 2008 10:36:02 Taco Hoekwater wrote: xpdf (and its derivatives) does not support 16-bit color. No warning, the pdf is just displayed incorrectly. It 'works' in pdflatex in xpdf because the file does not contain a 16-bit image at all, it is automatically downgraded. If

[NTG-context] 16-bit png

2008-02-14 Thread Alan BRASLAU
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