Skip to content

Commit

Permalink
guest_rust: grey -> gray
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Dec 12, 2023
1 parent 9d1f069 commit 1b17282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guest_rust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ fn process_pixel_image(image: &wasi::buffer_pool::data_types::Image) -> Result<(
);
(3, dimension.width * 3, &converted)
}
wasi::buffer_pool::data_types::PixelFormat::Grey => (1, height_stride, payload),
wasi::buffer_pool::data_types::PixelFormat::Gray => (1, height_stride, payload),
wasi::buffer_pool::data_types::PixelFormat::Mjpeg => (0, 0, payload),
_ => {
println!(
Expand Down

0 comments on commit 1b17282

Please sign in to comment.