Convert images to PNG for kitty with ImageMagick

This commit is contained in:
bptato
2021-02-19 23:46:07 +01:00
parent 728fb34e28
commit 081f42e35c
3 changed files with 67 additions and 18 deletions

View File

@@ -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 ;