-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to recognize format #56
Comments
I'm having the same issue with both png's and jpg's, would love for this to be fixed. |
Cimg relies on other packages (libpng, libjpeg) to handle the corresponding file formats. Can you check if you have them installed (typically cimg should depend on them). Did you check if imagemagic is installed and works properly with png and jpeg images? |
Had this problem on a fresh Ubuntu install. Solved this by installing imagemagick, as stefan said |
Required for e.g. jpg and png support, c.f. stefanhaustein/TerminalImageViewer#56
Required for e.g. jpg and png support, c.f. stefanhaustein/TerminalImageViewer#56
Required for e.g. jpg and png support, c.f. stefanhaustein/TerminalImageViewer#56
I build the c++ version on raspbian and ubuntu 18, both give me such error
[CImg] *** CImgIOException *** [instance(0,0,0,0,(nil),non-shared)] CImg<unsigned char>::load(): Failed to recognize format of file 'image.jpg'. File format is not recognized for 'image.jpg'
.Also tried the png file but still not work. Any clue?
The text was updated successfully, but these errors were encountered: