mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-22 06:41:08 +00:00
Don't convert thumbnail color profile to sRGB when color management is disabled
This commit is contained in:
parent
673e1955fa
commit
55f58d8bea
@ -143,7 +143,8 @@ private:
|
||||
|
||||
// Convert the image to sRGB color space
|
||||
auto cs = sprite->colorSpace();
|
||||
if (cs && !cs->nearlyEqual(*gfx::ColorSpace::MakeSRGB())) {
|
||||
if (m_fop->preserveColorProfile() &&
|
||||
cs && !cs->nearlyEqual(*gfx::ColorSpace::MakeSRGB())) {
|
||||
app::cmd::convert_color_profile(
|
||||
thumbnailImage.get(), palette.get(),
|
||||
cs, gfx::ColorSpace::MakeSRGB());
|
||||
|
Loading…
x
Reference in New Issue
Block a user