Skip to content

Windows displays incorrect colors #2918

@JacobDev1

Description

@JacobDev1

Description

The encoded image is displayed incorrectly in Windows Photos and File Explorer.

Steps to reproduce

Images: attachment.zip

Requirements:

  • Windows 11 with AVIF support (AV1 and HEIF extensions from Microsoft store installed).
  • a 16-bit PNG image with an ICC profile exported with Affinity Studio.
  • avifenc v1.3.0

The bug occurs when cicp is 2/2/6.

avifenc src.png dst.avif
Image

Notice how dst.avif is much brighter than the original. The dst_range_limited.avif file was encoded with --range limited, and it's even brighter.

Full view, respectively, full range avif / limited range avif / original png

Image

Additional info

This may be a bug in the Windows integration as no other image viewer I tested displays a broken image. If this is the case, is there any way we can reach out to them?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions