hackerb9 / lsix

Like "ls", but for images. Shows thumbnails in terminal using sixel graphics.
GNU General Public License v3.0
4.03k stars 127 forks source link

lsix error: montage.exe: unable to open image #68

Open RioNight opened 10 months ago

RioNight commented 10 months ago
user1@myLaptop MINGW64 ~/repos/lsix (master)
$ ls
LICENSE  README.md  README.md.d/  lsix*

user1@myLaptop MINGW64 ~/repos/lsix (master)
$ file ~/wallpaper.png
/c/Users/user1/wallpaper.png: PNG image data, 3840 x 2160, 8-bit/color RGB, non-interlaced

user1@myLaptop MINGW64 ~/repos/lsix (master)
$ ./lsix ~/wallpaper.png
montage.exe: unable to open image '/c/Users/user1/wallpaper.png': No such file or directory @ error/blob.c/OpenBlob/3571.
montage.exe:  `gif:-' @ error/montage.c/MontageImageCommand/1824.
convert: no decode delegate for this image format `' @ error/constitute.c/ReadImage/746.
convert: no images defined `sixel:-' @ error/convert.c/ConvertImageCommand/3362.

user1@myLaptop MINGW64 ~/repos/lsix (master)
$ echo $COMSPEC
C:\WINDOWS\system32\cmd.exe

user1@myLaptop MINGW64 ~
$ echo $TERM
xterm

user1@myLaptop MINGW64 ~
$ magick -version
Version: ImageMagick 7.1.1-25 Q16-HDRI x64 98e7513:20231230 https://imagemagick.org
Copyright: (C) 1999 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Channel-masks(64-bit) Cipher DPC HDRI Modules OpenCL OpenMP(2.0)
Delegates (built-in): bzlib cairo flif freetype gslib heic jng jp2 jpeg jxl lcms lqr lzma openexr pangocairo png ps raqm raw rsvg tiff webp xml zip zlib
Compiler: Visual Studio 2022 (193732826)

I am on Windows using the git bash terminal. The TERM variable is set to xterm by default. lsix doesn't appear to show images correctly and fails with an error as shown above. I've installed git and imagemagick from the scoop package system.