Skip to content
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

add support webp format please #196

Closed
akimdi opened this issue Apr 18, 2020 · 9 comments
Closed

add support webp format please #196

akimdi opened this issue Apr 18, 2020 · 9 comments

Comments

@akimdi
Copy link

akimdi commented Apr 18, 2020

No description provided.

@karlch
Copy link
Owner

karlch commented Apr 18, 2020

Personally I can open webp images just fine. Seems like qt relies on system libwep for this usually. On archlinux this is packaged as libwebp which is required by qt5-imageformats. Do you have something equivalent installed? If not, could you try doing so?

@akimdi
Copy link
Author

akimdi commented Apr 20, 2020

I use ArchLinux too.
I installed these packages but could not open webp
https://www.archlinux.org/packages/extra/x86_64/libwebp/
https://www.archlinux.org/packages/extra/x86_64/qt5-imageformats/

@karlch
Copy link
Owner

karlch commented Apr 20, 2020

That's unfortunate. Would you mind sharing the output of vimiv --version and possibly one file vimiv fails to open, if this is not sensitive information?

@akimdi
Copy link
Author

akimdi commented Apr 20, 2020

version https://termbin.com/2o87

@akimdi
Copy link
Author

akimdi commented Apr 20, 2020

@karlch
Copy link
Owner

karlch commented Apr 21, 2020

Perfect, thank you, this makes sense to me now.

It seems like you are using the gtk version from the official packages, not the newer qt port here. Sorry for the version confusion, I decided a total rewrite was necessary a while ago.

From here on you have two options:

  • Switch to the qt port. You have a stable and a development version available in the AUR. This port is still in heavy development but already brings quite a few improvements compared to the initial gtk version. You would have to manually update the config files for any changes you did though.
  • Keep the gtk version and install this AUR package for webp support with Gtk. Seems a little bit buggy (Gtk writes a lot of error messages to the terminal), but opens the image fine.

The first option is probably slightly more work but at some point the Gtk version will be deprecated completely anyway. If you need any help switching, of course feel free to open further issues.

@akimdi
Copy link
Author

akimdi commented Apr 21, 2020

Thank you very much.
I will wait until the package appears in the official repositories.
I do not use AUR because it is very unstable.

@karlch
Copy link
Owner

karlch commented Apr 22, 2020

Alright, sounds good to me. I hope to release v1.0 of this port this summer, this would then ideally replace the gtk version also in the official packages. Let's see 😄

If you don't mind, I would close this issue as soon as I have updated the documentation and AUR packages for the optional qt5-imageformats dependency which I was not aware of before.

@akimdi
Copy link
Author

akimdi commented Apr 22, 2020

Yes. Of course.
I wish you all the best and success 👍

@karlch karlch closed this as completed in 2720b03 Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants