Bug 516000

Summary: 16Bit PNGs from Blender are displayed in Krita with incorrect color space.
Product: [Applications] krita Reporter: Zafio <j>
Component: File formatsAssignee: Krita Bugs <krita-bugs-null>
Status: REPORTED ---    
Severity: normal CC: dimula73
Priority: NOR    
Version First Reported In: 5.2.15   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: TOP: Blender PNG as intended export, below:
16Bit png from Blender

Description Zafio 2026-02-14 20:14:12 UTC
Created attachment 189584 [details]
TOP: Blender PNG as intended export, below:

SUMMARY
16Bit PNGs exported from Blender are displayed in Krita with incorrect color space.

STEPS TO REPRODUCE
1.  Paint anything in Blender, save as PNG with default settings.
2.  Open it in Krita

OBSERVED RESULT
Color looks exactly as using "Linear Rec.709" color space profile in blender.
In any other app the same png is displayed with any color issues.

EXPECTED RESULT
Color to display correctly using default srgb color space.

SOFTWARE/OS VERSIONS
Windows:  10


ADDITIONAL INFORMATION
I submited the bug also to Blender, because it was unclear to me which one was the culprit.
And the admins pointed to Krita (unless there was more clear evidence)

Additional explanation for the attached image, from top to bottom:
1: The texture as exported with default settings
2: How the texture looks inside blender, changing the color space to "linear rec.709"
3: Left: exact same texture 16bit png exported with default settings and SRGB color space, compared with the same texture exported in 8bit.
Comment 1 Dmitry Kazakov 2026-02-14 21:40:38 UTC
Hi, Zafio!

The default color space for 16-bit RGB images in Krita is "Linear rec.709", indeed. Ideally, you should somehow instruct Blender to attach an ICC profile to the image.

Alternatively, you could use "Assign Profile" script, and reset the image profile to sRGB:

1) In the Python settings enable "Assign Profile" script
2) Assing "sRGB-elle-V2-srgbtrc.icc" in Scripts->Assign Profile...


Could you please also attach a PNG file that has this issue, so I could check it locally?
Comment 2 Zafio 2026-02-14 22:42:17 UTC
Created attachment 189596 [details]
16Bit png from Blender
Comment 3 Zafio 2026-02-14 23:06:20 UTC
Hi Dmitry!

> Could you please also attach a PNG file that has this issue, so I could
> check it locally?

Sure! just added the very same png!

I've tried to export the png from blender, changing the export color space option to Linear Rec.709, and then indeed, it opens correctly in Krita... But every other apps shows the color darker... including Blender if I load it again in a new project... 

P.S.: Forgot to mention something important: I didn't have this problem until recently, and just downloaded and opened the png in 5.2.11 without issues.
I dont mind going the extra mile to solve this issue (will try what you suggest) but if previous versions didn't have this problem with blender files... and any other apps don't have it either...



(In reply to Dmitry Kazakov from comment #1)
> Hi, Zafio!
> 
> The default color space for 16-bit RGB images in Krita is "Linear rec.709",
> indeed. Ideally, you should somehow instruct Blender to attach an ICC
> profile to the image.
> 
> Alternatively, you could use "Assign Profile" script, and reset the image
> profile to sRGB:
> 
> 1) In the Python settings enable "Assign Profile" script
> 2) Assing "sRGB-elle-V2-srgbtrc.icc" in Scripts->Assign Profile...
> 
> 
> Could you please also attach a PNG file that has this issue, so I could
> check it locally?