Skip to content

Commit c114010

Browse files
committed
nothing to say
1 parent 91f2d4b commit c114010

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

multilevel.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -1192,6 +1192,7 @@ json MultilevelController::loadmask(json data) {
11921192
string img_name = data["tmpdir"].as<string>()+"/3.png";
11931193
cerr << "Load mask from : " << img_name << endl;
11941194
QImage mask(img_name.c_str());
1195+
mask = mask.convertToFormat(QImage::Format_RGB32);
11951196
MyImage image(mask.width(), mask.height());
11961197
for (int y=0; y<image.h; y++) {
11971198
QRgb* scanelineStrokeMask = (QRgb*)mask.scanLine(y);

0 commit comments

Comments
 (0)