mirror of
https://github.com/visioncortex/vtracer.git
synced 2026-09-27 22:41:20 -07:00
Update to visioncortex 0.4.0
This commit is contained in:
@@ -46,7 +46,7 @@ impl Canvas {
|
||||
image.data().to_vec()
|
||||
}
|
||||
|
||||
pub fn get_image_data_as_image(&self, x: u32, y: u32, width: u32, height: u32) -> ColorImage {
|
||||
pub fn get_image_data_as_color_image(&self, x: u32, y: u32, width: u32, height: u32) -> ColorImage {
|
||||
ColorImage {
|
||||
pixels: self.get_image_data(x, y, width, height),
|
||||
width: width as usize,
|
||||
|
||||
Reference in New Issue
Block a user