Closed
Description
Describe the bug
This script produces the following result:
#include "TCanvas.h"
#include "TASImage.h"
void test_asimage()
{
new TCanvas("bmp","bmp");
auto bmp = new TASImage("./screenshot.bmp");
bmp->Draw();
new TCanvas("png","png");
auto png = new TASImage("./screenshot.png");
png->Draw();
}
Expected behavior
Both PNG and BMP pictures should be the same. the left picture looks like it has some byte misalignment.
To Reproduce
- Download the screenshot files screenshots.zip
- Run the code snippet above
Setup
ROOT 6.22/02 on Ubuntu18
Metadata
Metadata
Assignees
Type
Projects
Status
Issues