Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegFlow
/ into_bgr8
Method
into_bgr8
flow-plugins/src/utils/image.rs:33–35 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
31
32
impl Image {
33
pub fn into_bgr8(self) -> image::ImageBuffer<image::Bgr<u8>, Vec<u8>> {
34
self.0.into_bgr8()
35
}
36
37
pub fn from_raw(w: u32, h: u32, buf: &[u8]) -> Option<Image> {
38
let mut owned = vec![];
Callers
2
analyze
Function · 0.80
exec
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected