When I export from a layered editor to PNG, JPEG or AVIF, what colour tag and transparency does each format record, and what does Krita's exporter do by default?
PNG records colour via cICP, iCCP or sRGB chunks (cICP takes priority). JPEG carries an ICC profile only in APP2 'ICC_PROFILE' chunks (at most 16,707,345 bytes) and has no alpha. AVIF stores alpha as an auxiliary image and can flag premultiplied colour with a 'prem' reference. In Krita's source, PNG export defaults to keeping alpha, converting to sRGB (forceSRGB) and not writing cICP; JPEG export embeds the profile by default and flattens transparency onto a fill colour.
PNG records colour via cICP, iCCP or sRGB chunks (cICP takes priority). JPEG carries an ICC profile only in APP2 'ICC_PROFILE' chunks (at most 16,707,345 bytes) and has no alpha. AVIF stores alpha as an auxiliary image and can flag premultiplied colour with a 'prem' reference. In Krita's source, PNG export defaults to keeping alpha, converting to sRGB (forceSRGB) and not writing cICP; JPEG export embeds the profile by default and flattens transparency onto a fill colour.
Curator qualifications: Specs and code read 2026-10-22; no file exported. T.81 interchange-scope sentence and the PNG chunk-priority table carried from producer/other batches.
Limitations: Specs and code read 2026-10-22; no file exported. Krita defaults are code defaults; GUI-remembered settings may differ.
Evidence status: statements located in the cited sources by a correlated desk review (Claude); not executed; not independently reviewed.
Structured fields
{
"citations": [
{
"url": "https://www.w3.org/TR/2025/REC-png-3-20250624/",
"note": "ICC Technote: Profile Embedding (JPEG section); AV1 Image File Format v1.2.0, alpha item and item reference types; Krita plugins/impex/png/kis_png_export.cc at ec6a328 L109-126; Krita kis_jpeg_export.cc L71, L81, L167, L184; Krita kis_jpeg_converter.cc L622-634"
},
{
"url": "https://aomediacodec.github.io/av1-avif/v1.2.0.html",
"note": "ICC Technote: Profile Embedding (JPEG section); AV1 Image File Format v1.2.0, alpha item and item reference types; Krita plugins/impex/png/kis_png_export.cc at ec6a328 L109-126; Krita kis_jpeg_export.cc L71, L81, L167, L184; Krita kis_jpeg_converter.cc L622-634"
},
{
"url": "https://www.color.org/technotes/ICC-Technote-ProfileEmbedding.pdf",
"note": "ICC Technote: Profile Embedding (JPEG section); AV1 Image File Format v1.2.0, alpha item and item reference types; Krita plugins/impex/png/kis_png_export.cc at ec6a328 L109-126; Krita kis_jpeg_export.cc L71, L81, L167, L184; Krita kis_jpeg_converter.cc L622-634"
},
{
"url": "https://www.w3.org/Graphics/JPEG/itu-t81.pdf",
"note": "ICC Technote: Profile Embedding (JPEG section); AV1 Image File Format v1.2.0, alpha item and item reference types; Krita plugins/impex/png/kis_png_export.cc at ec6a328 L109-126; Krita kis_jpeg_export.cc L71, L81, L167, L184; Krita kis_jpeg_converter.cc L622-634"
},
{
"url": "https://github.com/KDE/krita/blob/ec6a328c805b397dddbacd48d5e1a950540c0792/plugins/impex/png/kis_png_export.cc",
"note": "ICC Technote: Profile Embedding (JPEG section); AV1 Image File Format v1.2.0, alpha item and item reference types; Krita plugins/impex/png/kis_png_export.cc at ec6a328 L109-126; Krita kis_jpeg_export.cc L71, L81, L167, L184; Krita kis_jpeg_converter.cc L622-634"
},
{
"url": "https://github.com/KDE/krita/blob/ec6a328c805b397dddbacd48d5e1a950540c0792/plugins/impex/jpeg/kis_jpeg_export.cc",
"note": "ICC Technote: Profile Embedding (JPEG section); AV1 Image File Format v1.2.0, alpha item and item reference types; Krita plugins/impex/png/kis_png_export.cc at ec6a328 L109-126; Krita kis_jpeg_export.cc L71, L81, L167, L184; Krita kis_jpeg_converter.cc L622-634"
},
{
"url": "https://github.com/KDE/krita/blob/ec6a328c805b397dddbacd48d5e1a950540c0792/plugins/impex/jpeg/kis_jpeg_converter.cc",
"note": "ICC Technote: Profile Embedding (JPEG section); AV1 Image File Format v1.2.0, alpha item and item reference types; Krita plugins/impex/png/kis_png_export.cc at ec6a328 L109-126; Krita kis_jpeg_export.cc L71, L81, L167, L184; Krita kis_jpeg_converter.cc L622-634"
}
]
}Evidence claims
- [sourced_fact] PNG records colour via cICP, iCCP or sRGB chunks (cICP takes priority). JPEG carries an ICC profile only in APP2 'ICC_PROFILE' chunks (at most 16,707,345 bytes) and has no alpha. AVIF stores alpha as an auxiliary image and can flag premultiplied colour with a 'prem' reference. In Krita's source, PNG export defaults to keeping alpha, converting to sRGB (forceSRGB) and not writing cICP; JPEG export embeds the profile by default and flattens transparency onto a fill colour. · locator: ICC Technote: Profile Embedding (JPEG section); AV1 Image File Format v1.2.0, alpha item and item reference types; Krita plugins/impex/png/kis_png_export.cc at ec6a328 L109-126; Krita kis_jpeg_export.cc L71, L81, L167, L184; Krita kis_jpeg_converter.cc L622-634 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://aomediacodec.github.io/av1-avif/v1.2.0.html
- cites → https://github.com/KDE/krita/blob/ec6a328c805b397dddbacd48d5e1a950540c0792/plugins/impex/jpeg/kis_jpeg_converter.cc
- cites → https://github.com/KDE/krita/blob/ec6a328c805b397dddbacd48d5e1a950540c0792/plugins/impex/jpeg/kis_jpeg_export.cc
- cites → https://github.com/KDE/krita/blob/ec6a328c805b397dddbacd48d5e1a950540c0792/plugins/impex/png/kis_png_export.cc
- cites → https://www.color.org/technotes/ICC-Technote-ProfileEmbedding.pdf
- cites → https://www.w3.org/Graphics/JPEG/itu-t81.pdf
- cites → https://www.w3.org/TR/2025/REC-png-3-20250624