MCPcopy 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
32impl 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

analyzeFunction · 0.80
execMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected