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

[feature request] support webp image format #8363

Open
beenotung opened this issue Aug 25, 2024 · 0 comments
Open

[feature request] support webp image format #8363

beenotung opened this issue Aug 25, 2024 · 0 comments

Comments

@beenotung
Copy link

Please make sure that this is a feature request. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:feature_template

System information

  • TensorFlow.js version (you are using): 4.20.0
  • Are you willing to contribute it (Yes/No): Yes

Describe the feature and the current behavior/state.

Currently, tf.node.image.decodeImage() supports jpeg, png, gif, and bmp. webp is not supported.

Will this change the current api? How?

Yes, tf.node.image.decodeImage() will be updated to support webp;

tf.node.image.decodeWebp() and tf.node.image.encodeWebp() can be added as well.

Who will benefit with this feature?

Users having existing dataset as webp images can load it directly without extra pre-processing, and those who want to save disk space can convert existing images into webp.

Any Other info.

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

No branches or pull requests

3 participants