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

add jxl support #43

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

Quackdoc
Copy link

jxl-oxide now has image interop, we can support it like so

@@ -19,6 +19,7 @@ av-metrics-decoders = { version = "0.3.1", features = [
clap = { version = "4.0.18", features = ["derive"] }
crossterm = "0.27.0"
indicatif = "0.17.1"
jxl-oxide = { version = "0.10.1", features = ["image"] }
Copy link
Contributor

Choose a reason for hiding this comment

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

This increases binary size from 3.4M to 6.0M on my machine.. Should probably be a feature.

src/main.rs Show resolved Hide resolved
@FreezyLemon
Copy link
Contributor

Fix clippy errors please, and make jxl a feature. Might have to look at why this adds so much bloat before merging..

@Quackdoc
Copy link
Author

Quackdoc commented Dec 7, 2024

Fix clippy errors please, and make jxl a feature. Might have to look at why this adds so much bloat before merging..

I need some time to figure out how I want to make it optional, this will be important for adding other formats in the future as image-rs has a policy of not taking some formats in (IE. heif will be an issue), converting to a draft until I find the time to figure this out, which has been in very short supply lately...

EDIT: may also just wait for image-rs/image#2372 to blow over and utilize whatever this may look like

@Quackdoc Quackdoc marked this pull request as draft December 7, 2024 13:26
@FreezyLemon
Copy link
Contributor

Sure, take your time. Just added another comment because I wasn't sure that I was clear enough in my review.

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