[XeTeX] Color changing under graphic inclusion with graphicx
George N. White III
gnwiii at gmail.com
Sun Jan 10 16:54:00 CET 2021
On Sun, 10 Jan 2021 at 08:44, Philip Taylor <P.Taylor at hellenic-institute.uk>
wrote:
> [Just realised that the XeTeX list should have been cc'd, so doing so now
> and will forward Paulo's original images as attachments]
>
> Philip Taylor wrote:
>
> Ulrike Fischer wrote:
>
> I can't reproduce your problem with the files you provided.
>
> How do you compile? Which TeX-System do you have? And which viewer
> do you use to view the pdf? Can you provide the pdf you get?
>
>
>
> For me (Windows 7 64-bit Enterprise, TeX Live 2020), PdfLaTeX does *not*
> shew the problem whilst XeLaTeX does. The artifacts are more visible in
> the TeXworks previewer than in Adobe Acrobat CC, but are nonetheless
> visible in the latter.
>
> *Philip Taylor*
>
> *--------*
>
> I have (a couple) of PNG images with a background color of, for example,
> RGB(80,64,83), that when placed on a page of the same background color with
> {graphicx} -- they show a distinct tonality against the background -- which
> is of the same color.
>
> ````
> \documentclass{report}
>
> \usepackage{xcolor}
> \definecolor{bgcolor}{RGB}{80,64,83}
>
> \usepackage{graphicx}
> \pagestyle{empty}
>
> \begin{document}
>
> \pagecolor{bgcolor}
> \includegraphics[width=0.5\textwidth]{A.png}
> \quad
> \includegraphics[width=0.5\textwidth]{B.png}
>
> \medskip
>
> \includegraphics[width=0.5\textwidth]{A-gimp.png}
> \quad
> \includegraphics[width=0.5\textwidth]{B-gimp.png}
>
> \end{document}
> ````
>
>
PNG supports color management, so the appearance may not match that of the
raw (uncorrected) RGB values
PNG 1.2 Color Appendix
<http://www.libpng.org/pub/png/spec/1.2/PNG-ColorAppendix.html>.
--
George N. White III
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/xetex/attachments/20210110/c1817f1b/attachment.html>
More information about the XeTeX
mailing list.