This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository legacy-imlib2.

View the commit online.

commit ab83318972265bbbea74fccc38903b44ad2554ad
Author: Kim Woelders <k...@woelders.dk>
AuthorDate: Fri Dec 13 10:31:07 2024 +0100

    imlib2_load/view: Show image alpha status too
---
 src/bin/imlib2_load.c | 6 ++++--
 src/bin/imlib2_view.c | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/bin/imlib2_load.c b/src/bin/imlib2_load.c
index 81658d9..34fdbea 100644
--- a/src/bin/imlib2_load.c
+++ b/src/bin/imlib2_load.c
@@ -286,8 +286,10 @@ main(int argc, char **argv)
             }
 
             imlib_context_set_image(im);
-            V2printf("- Image: fmt=%s WxH=%dx%d\n", imlib_image_format(),
-                     imlib_image_get_width(), imlib_image_get_height());
+            V2printf("- Image: fmt=%s WxH=%dx%d alpha=%c\n",
+                     imlib_image_format(),
+                     imlib_image_get_width(), imlib_image_get_height(),
+                     imlib_image_has_alpha()? 'y' : 'n');
 
             if (load_mode == LOAD_DEFER)
             {
diff --git a/src/bin/imlib2_view.c b/src/bin/imlib2_view.c
index 87f4d51..3aa7106 100644
--- a/src/bin/imlib2_view.c
+++ b/src/bin/imlib2_view.c
@@ -411,8 +411,10 @@ progress(Imlib_Image im, char percent, int update_x, int update_y,
         }
         Dprintf(" Window WxH=%dx%d\n", window_width, window_height);
 
-        V2printf(" Image  WxH=%dx%d fmt='%s'\n",
-                 up_ww, up_wh, imlib_image_format());
+        V2printf("- Image: fmt=%s WxH=%dx%d alpha=%c\n",
+                 imlib_image_format(),
+                 imlib_image_get_width(), imlib_image_get_height(),
+                 imlib_image_has_alpha()? 'y' : 'n');
 
         /* Initialize checkered background image */
         bg_im_init(image_width, image_height);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to