MCPcopy Create free account
hub / github.com/OpenActionAPI/rust-elgato-streamdeck / write_lcd_fill

Method write_lcd_fill

src/asynchronous.rs:141–144  ·  view source on GitHub ↗

Writes image data to Stream Deck device's lcd strip/screen as full fill You can convert your images into proper image_data like this: ``` use elgato_streamdeck::images::{convert_image_with_format_async}; let image_data = convert_image_with_format_async(device.kind().lcd_image_format(), image).await.unwrap(); device.write_lcd_fill(&image_data).await; ```

(&self, image_data: &[u8])

Source from the content-addressed store, hash-verified

139 /// device.write_lcd_fill(&image_data).await;
140 /// ```
141 pub async fn write_lcd_fill(&self, image_data: &[u8]) -> Result<(), StreamDeckError> {
142 let device = self.device.lock().await;
143 block_in_place(move || device.write_lcd_fill(image_data))
144 }
145
146 /// Sets button's image to blank, changes must be flushed with `.flush()` before
147 /// they will appear on the device!

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected