diff options
author | bptato <nincsnevem662@gmail.com> | 2021-02-19 22:46:07 +0000 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2021-02-19 22:48:52 +0000 |
commit | 081f42e35c793bc79e95628e15dbe9147637c45e (patch) | |
tree | a427842ca43f94ad82816a1876fabb517d1ea45f /image.c | |
parent | Fix potential segfault (diff) | |
download | w3m-081f42e35c793bc79e95628e15dbe9147637c45e.tar.gz w3m-081f42e35c793bc79e95628e15dbe9147637c45e.zip |
Convert images to PNG for kitty with ImageMagick
Diffstat (limited to 'image.c')
-rw-r--r-- | image.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -259,7 +259,7 @@ drawImage() } else if (enable_inline_image == INLINE_IMG_ITERM2) { put_image_iterm2(url, x, y, sw, sh); } else if (enable_inline_image == INLINE_IMG_KITTY) { - put_image_kitty(url, x, y, w, h, i->sx, i->sy, sw * pixel_per_char, sh * pixel_per_line_i, sw, sh); + put_image_kitty(url, x, y, i->width, i->height, i->sx, i->sy, sw * pixel_per_char, sh * pixel_per_line_i, sw, sh); } continue ; |