aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian C <cc@localhost>2025-03-23 17:50:57 -0700
committerChristian C <cc@localhost>2025-03-23 17:50:57 -0700
commit1b05c26a8ede821f84c042e25438040c36d4aee0 (patch)
tree91c8256d62432036679e787d36f4739917724b31 /src
parent848a0f6e2d634001e30cbfebef05d93f7301facd (diff)
Migration to Mask
Diffstat (limited to 'src')
-rw-r--r--src/prog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/prog.c b/src/prog.c
index 0f59530..337a71e 100644
--- a/src/prog.c
+++ b/src/prog.c
@@ -201,7 +201,7 @@ int main(int argc, char** argv)
//-SAVE-MASK-AS-BINARY-AND-PNG-------------------
//-----------------------------------------------
if (masks_im != NULL) {
- Bitmap* bitmap = image_mask_data_to_bitmap(masks_im->image[0], width, height);
+ Bitmap* bitmap = image_mask_data_to_bitmap(masks_im);
if (bitmap != NULL) {
save_png(bitmap, png_file);
free(bitmap);