Some odd things happening with PNG exports on my Mac (10.5, PPC).
I plot distributions with either ROOT or PyROOT, and get the normal default results - black points on white. From the recent trunk of SVN, however, the points on all exported PNG files come out kBlue. This is also the case with JPG files, but not GIFs - which seem to be fine. Examples below.
(As an aside, SVGs never seem to open, and PDFs are not responsive. TIFFs are apparently not supported.)
I tried the same code and data on a SLC4 machine using 5.14/00h (from the Athena 13.0.30 release) - it worked great and did the colors just as I wanted them.
Can you send me the SVG and PDF files ?
In fairness, I’m sure the PDF is so unresponsive because I have ~2e6 data points in the first plot.
The plots are too large to post - please have a look in /afs/cern.ch/user/s/stradlin/public/plots.zip
It looks like these files have a huge number of points. The pdf is 23Mb and the SVG 1Gb. GV and Acroread failed to open it. You are right to prefer bitmap output like gif.
Can the “blue effect” be reproduced with any picture or a specific macro is neede on Mac ?
[quote=“couet”]It looks like these files have a huge number of points. The pdf is 23Mb and the SVG 1Gb. GV and Acroread failed to open it. You are right to prefer bitmap output like gif.
Can the “blue effect” be reproduced with any picture or a specific macro is neede on Mac ?[/quote]
This was generated initially with very basic CINT commands. Basically -
TFile *f = new TFile(“BeamHalo.root”)
More data - all works fine with OS X, Tiger, 5.14/00e.
this problem on PowerPC is known and is related to libAfterImage
(on big endian systems).
I sent report about this to the author (Sasha Vasko).
Hopefully must be investigated and fixed soon.
Thanks - I’m anxious for the fix.
Has there been a fix to this problem? Is it worthwhile to rebuild ROOT and give it a try?
This problem is still pending.
Is this issue resolved? I just started to experience this yesterday on my iMac after 7 years of normal operation.
Do you have a reproducer ? This thread in 14 years old. I do have the reproducer anymore.
What do you mean by a “reproducer”? This has been happening only for a week or so now and it happens with both a macro and from the command line. In both cases I can make correct PDF and EPS files, but I also found out that the JPG files also turn out blue.
For reference, this has been happening on an iMac with Catalina OS, but ROOT was working normally since October or so when I first installed it. In light of that, it may be a problem with a recent update, but I don’t know what aspect this is attributed to.
Thanks for your help.
Douglas Rodriguez, PhD
Ok so it happens with any plots ? Looking back in the 2007 posts, it appeared to be on PowerPC machines. Is that your case ?
Any graph or histogram that I save as a PNG or PJG on my iMac turns blue. Otherwise these are fine.
~Doug Rodriguez, PhD
Is it A powerPC ? I do not see this on recent Mac
No, it’s not a powerPC. Just a simple iMac from 2014 running macOS Catalina (not sure what sub-version).
Douglas Rodriguez, PhD
It seems that bug was visible on some specific Mac architecture (PowerPC ?). I was never able to reproduce it. Since 2007 there was no new bug fixes from the author of libAfterImage . May be @Valeriy_Onuchin has more details about it. But as it is 14 years old I doubt there will be anything new.
Hi @darsatdusk ,
as @couet mentioned the real issue is that we are not able to reproduce this. Do you see the issue on LXPLUS, in a Docker container or when installing ROOT from macports, homebrew or conda (see Installing ROOT - ROOT)?