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

Enable support for additional image formats (webp, etc.) in the viewer, previewer, and nodejs bindings #2401

Merged
merged 1 commit into from
Mar 23, 2023

Conversation

tronical
Copy link
Member

No description provided.

Copy link
Member

@ogoffart ogoffart left a comment

Choose a reason for hiding this comment

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

Also: nodejs

@@ -28,6 +28,9 @@ js-sys = "0.3.44"
wasm-bindgen-futures = { version = "0.4.18" }
wasm-bindgen = { version = "0.2.66" }

# Enable image-rs' default features to make all image formats available for the wasm interpreter
image = { version = "0.24.0" }
Copy link
Member

Choose a reason for hiding this comment

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

Wait... Don't we load the image with the element on wasm. I don't think we need that then.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah that's true. Good point! I'll remove that again.

@tronical tronical force-pushed the simon/image-formats-preview branch from 55a8fdf to 36d6b00 Compare March 23, 2023 13:32
@tronical tronical changed the title Enable support for additional image formats (webp, etc.) in the viewer, previewer, and wasm interpreter Enable support for additional image formats (webp, etc.) in the viewer, previewer, and nodejs bindings Mar 23, 2023
@tronical tronical merged commit 128fb25 into master Mar 23, 2023
@tronical tronical deleted the simon/image-formats-preview branch March 23, 2023 14:35
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