Skip to content

Commit

Permalink
Changed GIF background color
Browse files Browse the repository at this point in the history
  • Loading branch information
zenden2k committed Jun 14, 2023
1 parent e4b1d19 commit 4f82554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Images/ImageConverterPrivate_gdiplus.cpp
Expand Up @@ -119,7 +119,7 @@ bool ImageConverterPrivate::convert(const std::string& sourceFile)
BackBuffer.reset(new Bitmap(static_cast<int>(round(newwidth)), static_cast<int>(round(newheight))));

Graphics gr(BackBuffer.get());
if (fileformat == ImageUtils::sifJPEG) {
if (fileformat == ImageUtils::sifJPEG || fileformat == ImageUtils::sifGIF) {
gr.Clear(Color(255, 255, 255, 255));
}

Expand Down

0 comments on commit 4f82554

Please sign in to comment.