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

Fixed QOI test, added QOI write #41

Merged
merged 2 commits into from
Nov 14, 2023
Merged

Conversation

MrBrixican
Copy link
Contributor

QOI test seems to not work on my machine. Replaced with magic number test from qoi_decode.

Added QOI write functionality.

I'd be open to condense our write methods to:

  • Image.Write(string path, ImageWriteFormat format = ImageWriteFormat.Png)
  • Image.Write(Stream stream, ImageWriteFormat format = ImageWriteFormat.Png)

Also not sure about casing when it comes to Png/PNG, Qoi/QOI. Went with only first letter capitalized to stay consistent with existing C# methods, but open to changes here.

@NoelFB NoelFB merged commit a6b79e8 into FosterFramework:main Nov 14, 2023
3 of 4 checks passed
@MrBrixican MrBrixican deleted the qoi-write branch November 15, 2023 00:51
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.

None yet

2 participants