Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proposal: x/image: support for qoi image format #52642

Closed
No-one-important opened this issue May 1, 2022 · 3 comments
Closed

proposal: x/image: support for qoi image format #52642

No-one-important opened this issue May 1, 2022 · 3 comments

Comments

@No-one-important
Copy link

Add support for qoi image format.

As qoi is a new image format with significant performance advatages over other lossless compresion such as png, I believe that it would be beneficial to implement it as part of the standard library.
This would be beneficial over using third party modules as it means there will be a consistent and stable api which will be consistent with jpeg and png images.

Example usecase

For uses such as rendering fractals png can be slow to compress and save the images. The qoi image format allows this to be done far quicker and has similar levels of compression

@gopherbot gopherbot added this to the Proposal milestone May 1, 2022
@No-one-important No-one-important changed the title proposal: affected/package: image Add support for [qoi](https://qoiformat.org/) image format. proposal: affected/package: image Add support for qoi image format. May 1, 2022
@No-one-important
Copy link
Author

I would be willing to implement this.

@seankhliao seankhliao changed the title proposal: affected/package: image Add support for qoi image format. proposal: x/image: support for qoi image format May 1, 2022
@seankhliao
Copy link
Member

Marking for x/image
Seems like something that can and should live outside of the standard library https://go.dev/doc/faq#x_in_std
Appears to be very new with not many users/importers https://pkg.go.dev/search?q=qoi

cc @nigeltao

@ianlancetaylor ianlancetaylor added this to Incoming in Proposals (old) May 2, 2022
@No-one-important
Copy link
Author

I still think it would be beneficial but it is probably worth waiting to see if qoi gains wider adoption.

@ianlancetaylor ianlancetaylor removed this from Incoming in Proposals (old) May 2, 2022
@golang golang locked and limited conversation to collaborators May 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants