Skip to content

avifenc can't encode grayscale jpeg with ICC profile to default output format #2892

@DearRabbit

Description

@DearRabbit

Error shows when I use command like avifenc --ignore-exif --ignore-xmp sample.jpg -o sample.avif in latest release version(1.3.0):

The image contains a gray ICC profile which is incompatible with the requested output format YUV (color). Pass --ignore-icc to discard the ICC profile.

It works correctly (generate a yuv 400 avif) if add -y 400 for the grayscale image, or in any version older than 1.2.1.

I think it's related to these commits: #2675. It's quite a breaking change of default behavior😰, using the default output format is much more convenient for images with various color modes.

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