Closed daniel-abramov closed 3 years ago
This sounds like a great idea! Unfortunately, I don't really do Windows development anymore. In fact, I don't even have access to a Windows environment to develop this change in :( .
If you, or anybody else, would like to write a pull request yourself, however, I would gladly help you out as much as I can.
Closed by #7
At the moment
capture_frame()
returnsVec<BGRA>
, however most applications which do the further processing of the capture frame (i.e. encode it etc) require&[u8]
or something similar, in other words, it would be nice to have a direct access to the pixel buffer data.One of the possible solutions is to use
image::ImageBuffer
type from Piston Developers'image
crate.