Skip to content

Conversation

@CPKreu
Copy link
Member

@CPKreu CPKreu commented Jan 28, 2026

Qoi.NetStandard is 5 times slower than PNG or 14 times slower than QoiSharp in decode

It is faster at encoding compared to PNG, but also 4 times slower than QoiSharp

@CPKreu CPKreu requested a review from flabbet January 28, 2026 19:21
_ => throw new IndexOutOfRangeException($"QOI color space '{qoiImage.ColorSpace}' is not supported.")
};

info = new SKImageInfo(qoiImage.Width, qoiImage.Height, SKColorType.Rgba8888, SKAlphaType.Premul, colorSpace);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait, why Rgba8888 instead of Bgra8888? What about decoding already encoded images?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants