Docs.rs
shift-preflight-0.9.3
shift-preflight 0.9.3
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
alohaninja
Dependencies
anyhow ^1
normal
base64 ^0.22
normal
image ^0.25
normal
resvg ^0.44
normal
serde ^1
normal
serde_json ^1
normal
tempfile ^3
normal
ureq ^3
normal
url ^2
normal
libc ^0.2
normal
Versions
58.5%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
detect_format
shift_
preflight
0.9.3
In shift_
preflight::
inspector
shift_preflight
::
inspector
Function
detect_
format
Copy item path
Source
pub fn detect_format(data: &[
u8
]) ->
MediaFormat
Expand description
Detect format from raw bytes using magic bytes.