Skip to content

Commit b65ae51

Browse files
authored
[test] rm outdated comment and add bmp
1 parent 4dd2c95 commit b65ae51

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

roottest/root/graf/simpleImages.C

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,10 @@ int simpleImages()
1515
TH1D h("myHisto", "The Title;the X;the Y", 64, -4, 4);
1616
h.FillRandom("gaus");
1717
h.Draw();
18-
// We test png and jpeg only. The creation of the gifs
19-
// is affected by an issue on some platforms. See #21561
20-
std::vector<std::string> fileNames{"f.jpeg", "f.png", "f.gif"};
18+
std::vector<std::string> fileNames{"f.jpeg", "f.png", "f.gif", "f.bmp"}; // TIFF not always there: only ON if asimage_tiff and libtiff installed in system (it's not a builtin like jpeg, png, gif)
2119
ImagesRAII iraii(fileNames);
2220
for (auto &&fileName : fileNames) {
2321
c.SaveAs(fileName.c_str());
2422
}
2523
return 0;
26-
}
24+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Info in <TCanvas::Print>: jpg file f.jpeg has been created
22
Info in <TCanvas::Print>: png file f.png has been created
33
Info in <TCanvas::Print>: gif file f.gif has been created
4+
Info in <TCanvas::Print>: bmp file f.bmp has been created
45
(int) 0

0 commit comments

Comments
 (0)