edluffy / hologram.nvim

👻 A cross platform terminal image viewer for Neovim. Extensible and fast, written in Lua and C. Works on macOS and Linux.
MIT License
1.29k stars 31 forks source link

Image not showing #2

Closed GustavoPrietoP closed 3 years ago

GustavoPrietoP commented 3 years ago

Im currently using kitty and it seems like whenever i run the command :lua require('hologram').add_image(0, vim.fn.stdpath("config") .. "/evil.png", 20, 50) I get no error but i also get no image. I wonder if you could help.

GustavoPrietoP commented 3 years ago

@edluffy hello?

edluffy commented 3 years ago

Not sure whats happening here. May work if you try and run the command via a keymap?

GustavoPrietoP commented 3 years ago

still nothing

edluffy commented 3 years ago

Is ImageMagick installed? - check by running kitty +kitten icat .../evil.png in a terminal instance which should produce a result.

GustavoPrietoP commented 3 years ago

yup

GustavoPrietoP commented 3 years ago

it displays the image correctly. It doesn't seem to give any errors just the image won't show. I'm not the only one having issues with it, a friend of mines also tested and it seems like it doesn't work for him as well