Color changing under graphic inclusion with graphicx

Paulo Ney de Souza pauloney at
Mon Jan 11 07:25:59 CET 2021

I also would like to add that if you look at the pre-GIMP and post-GIMP
PNG's, you see some sort of
differences between them, these two being the most important:

<   Gamma: 0.45455
>   Gamma: 0.454545
<   Background color: srgb(254.012,254.012,254.012)
>   Background color: white

but I believe they represent the same thing and NONE of several other
programs I used show any differences
in the display of the images.

It is just XeLaTeX that includes them in different ways.

Paulo Ney

On Sun, Jan 10, 2021 at 11:20 AM Paulo Ney de Souza <pauloney at>

> Hi All
> As Phil has already determined, the problem only occurs in XeTeX (not in
> pdfTeX or LuaTeX).
> And I just checked it is visible in both TL'19 and TL'20.
> Paulo Ney
> On Sun, Jan 10, 2021 at 3:53 AM Ulrike Fischer <news3 at> wrote:
>> Am Sat, 9 Jan 2021 12:08:34 -0800 schrieb Paulo Ney de Souza:
>> > 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.
>> > PS. For experimentation here are the same images, before and after
>> opening
>> > with GIMP.
>> 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?
>> --
>> Ulrike Fischer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the texhax mailing list.