Describe the bug
I see one small issue when saving a 600x600 TCanvas window as png.
I get:
- Interactive mode: 598x571 pixels
- Batch mode: 596x572 pixels
Expected behavior
No pixel difference is found between running batch or not. Right now there is an offset of 1 up to 2 pixels.
To Reproduce
void test() {
TCanvas *c = new TCanvas("c1","c1",600,600);
c->SaveAs("c1.png");
}
//root -l test.C -b -q
//root -l test.C -q
Setup
------------------------------------------------------------------
| Welcome to ROOT 6.27/01 https://root.cern |
| (c) 1995-2021, The ROOT Team; conception: R. Brun, F. Rademakers |
| Built for linuxx8664gcc on Jan 11 2022, 18:39:08 |
| From heads/master@v6-25-01-2870-gdac9b6398d |
| With c++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 |
| Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' |
------------------------------------------------------------------
Describe the bug
I see one small issue when saving a 600x600 TCanvas window as png.
I get:
Expected behavior
No pixel difference is found between running batch or not. Right now there is an offset of 1 up to 2 pixels.
To Reproduce
Setup