When Krita exports PNG with 'Force convert to sRGB', does it change pixel values or only relabel the profile?
Krita's PNG 'Force convert to sRGB' option (and any colour model PNG cannot hold) converts the pixels into the built-in Rec.709 sRGB profile with KisPaintDevice::convertTo before writing that profile, so it changes pixel values rather than just relabelling; HDR PNG export converts to a Rec.2020 PQ profile instead, and HDR and force-sRGB cannot both be on.
Krita's PNG 'Force convert to sRGB' option (and any colour model PNG cannot hold) converts the pixels into the built-in Rec.709 sRGB profile with KisPaintDevice::convertTo before writing that profile, so it changes pixel values rather than just relabelling; HDR PNG export converts to a Rec.2020 PQ profile instead, and HDR and force-sRGB cannot both be on.
Curator qualifications: Code read 2026-10-22; nothing exported or measured.
Limitations: Code read 2026-10-22; nothing exported or measured.
Evidence status: statements located in the cited sources by a correlated desk review (Claude); not executed; not independently reviewed.
Structured fields
{
"citations": [
{
"url": "https://github.com/KDE/krita/blob/e7e52a72ed37ecaf9ffaa2fab836b7c2f5539d1f/libs/ui/kis_png_converter.cpp",
"note": "KDE/krita e7e52a72 libs/ui/kis_png_converter.cpp L923-L965"
},
{
"url": "https://github.com/KDE/krita/blob/e7e52a72ed37ecaf9ffaa2fab836b7c2f5539d1f/libs/ui/kis_png_converter.h",
"note": "KDE/krita e7e52a72 libs/ui/kis_png_converter.cpp L923-L965"
},
{
"url": "https://github.com/KDE/krita/blob/e7e52a72ed37ecaf9ffaa2fab836b7c2f5539d1f/plugins/impex/png/kis_png_export.cc",
"note": "KDE/krita e7e52a72 libs/ui/kis_png_converter.cpp L923-L965"
},
{
"url": "https://github.com/KDE/krita/blob/e7e52a72ed37ecaf9ffaa2fab836b7c2f5539d1f/plugins/impex/png/kis_wdg_options_png.ui",
"note": "KDE/krita e7e52a72 libs/ui/kis_png_converter.cpp L923-L965"
},
{
"url": "https://api.github.com/repos/KDE/krita/git/tags/7d4d37d9f59297febda0c2b0fde847885bf73440",
"note": "KDE/krita e7e52a72 libs/ui/kis_png_converter.cpp L923-L965"
}
]
}Evidence claims
- [sourced_fact] Krita's PNG 'Force convert to sRGB' option (and any colour model PNG cannot hold) converts the pixels into the built-in Rec.709 sRGB profile with KisPaintDevice::convertTo before writing that profile, so it changes pixel values rather than just relabelling; HDR PNG export converts to a Rec.2020 PQ profile instead, and HDR and force-sRGB cannot both be on. · locator: KDE/krita e7e52a72 libs/ui/kis_png_converter.cpp L923-L965 source
Rights
| component | license | hosting | redistribution | modification | training | Evidence and notes |
|---|---|---|---|---|---|---|
| documentation | unknown | permitted | permitted | unknown | unknown | Applies to this original summary only, not to the cited sources. |
Linked records
- cites → https://api.github.com/repos/KDE/krita/git/tags/7d4d37d9f59297febda0c2b0fde847885bf73440
- cites → https://github.com/KDE/krita/blob/e7e52a72ed37ecaf9ffaa2fab836b7c2f5539d1f/libs/ui/kis_png_converter.cpp
- cites → https://github.com/KDE/krita/blob/e7e52a72ed37ecaf9ffaa2fab836b7c2f5539d1f/libs/ui/kis_png_converter.h
- cites → https://github.com/KDE/krita/blob/e7e52a72ed37ecaf9ffaa2fab836b7c2f5539d1f/plugins/impex/png/kis_png_export.cc
- cites → https://github.com/KDE/krita/blob/e7e52a72ed37ecaf9ffaa2fab836b7c2f5539d1f/plugins/impex/png/kis_wdg_options_png.ui