-
Notifications
You must be signed in to change notification settings - Fork 15
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
xwallpaper: failed to parse 1600px-Sunflower_from_Silesia2.jpg #22
Comments
Thank you for your report and supplying an input file so I can test it directly. First off: Is this a problem with this specific file or with JPG files in general, i.e. is your xwallpaper instance compiled with jpeg support? It is weird, because I have no issue using it (exact call was: xwallpaper --zoom Sunflower_from_Silesia2.jpg). So there must be a difference between my setup and yours. What I would like to know is:
I have tested on amd64 with libjpeg-turbo 2.0.4. A wild guess is that your libjpeg implementation is not libjpeg-turbo and that I unfortunately use a feature which your library does not have. But then again I wonder why you or distributors of the binary have been able to compile xwallpaper. |
Hello, I have encountered the same issue as described. Have compiled a first time, but it did not warn me about the missing If it didn't warned me about the missing Anyway thank you for this piece of software! :) |
Hi kadadot216, it is perfectly fine for xwallpaper if libjpeg/libjpeg-turbo is missing, because JPEG support is optional. Same is true for PNG and XPM. The rational behind this is that not every system has support for these types, although such a system is probably quite rare. In my case it's a default OpenBSD installation which has only libXPM. I can use that system for basic development purposes which do not require a browser (otherwise their dependencies would pull in JPEG and PNG anyway). I'll close this issue since you and I have only reproduced it due to missing JPEG support. Also it's a month since thomas-10-10 opened this issue and did not reply again. Thank you too for adding a comment to this issue. |
What's the solution for this problem? I'm on a fresh Arch install and i've installed xwallpaper but i get the same error |
Have you compiled xwallpaper by source? The solution was to install If you have installed the |
Fortunately (or unfortunately) I already installed it from the source code, I installed the dependencies before installation. In the arch repositories I looked at the dependencies for that specific package and also installed it, but the same error. PS: feh didn't work either, with a different error of course output: xwallpaper --debug --zoom mach-os/wallpaper/wallpaper01.jpg
output ldd (inside xwallpaper source code): ldd xwallpaper
|
If feh fails as well: Can you run |
Yes, the error is not with xwallpaper or feh. I tested sxiv and the file and they all gave an error. Apparently the error is only with the jpeg format because png worked normally. Thanks for the help, I'll try to solve it. |
Hi,
I can't get Xwallpaper to work. I have the following error:
xwallpaper: failed to parse 1600px-Sunflower_from_Silesia2.jpg
What does this error message mean?
The image works with feh.
Thank you
Image link: https://upload.wikimedia.org/wikipedia/commons/thumb/4/41/Sunflower_from_Silesia2.jpg/1600px-Sunflower_from_Silesia2.jpg
The text was updated successfully, but these errors were encountered: