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