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

feat: remove the infer crate #165

Merged
merged 3 commits into from
Nov 16, 2022
Merged

feat: remove the infer crate #165

merged 3 commits into from
Nov 16, 2022

Conversation

yisibl
Copy link
Owner

@yisibl yisibl commented Nov 16, 2022

Determine the MIME type of an image by magic number in Rust.

This will reduce the size of the Wasm file.

Determine the MIME type of an image by magic numbers in Rust.
@vercel
Copy link

vercel bot commented Nov 16, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
resvg-js ✅ Ready (Inspect) Visit Preview Nov 16, 2022 at 11:55AM (UTC)

Co-Authored-By: Zimond <daizhuoxian@gmail.com>
Explicitly return which formats are currently supported by resvg.
_ => "image/jpeg",
}
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

干嘛把这段代码挪来挪去?增加一个没啥意义的diff

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