Git Product home page Git Product logo

imlib2-webp's People

Contributors

gawen947 avatar romanrm avatar skal65535 avatar tsaaristo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

imlib2-webp's Issues

No Imlib2 loader for that file format persists on Debian Stable (10.6)

This project doesn't have many recent updates and may well be dead. If so, please forgive my post โ€ฆ but for the time being it is still relevant for Debian Stable for which the included imlib2 lacks webp support and no backport is currently available (as far as I can tell). Also still a top search result for 'sxiv webp support'. So hopefully I'm not committing any rage inducing internet faux pas (other than with this unnecessary paragraph of justification, anyway)!

Installed this as instructed in the readme and webp.so shows up in /usr/lib/x86_64-linux-gnu/imlib2/loaders/ as expected. Feh (and other imlib2 based viewers like SXIV) still fails with 'No Imlib2 loader for that file format'. Perhaps relevant, using essentially the same process to add an HEIC loader (https://github.com/vi/imlib2-heic) worked fine. I'm out of my depth troubleshooting this, so any advice (even angrily schooling me on what doc I should have read more carefully) much appreciated.

2020-11-29_10-41-35am

add support for animated WebP

Imlib2 recently added support for animated image.
The official WebP loader seems to support this and we should add it too.

Does not compile.

Hello,

# make
cc -Wp,-MMD,loader_webp.d -c -std=c99 -O2  -fPIC -Wall -ggdb -o loader_webp.o loader_webp.c
loader_webp.c:40:25: fatal error: webp/decode.h: No such file or directory
 #include <webp/decode.h>
                         ^
compilation terminated.
makefile:26: recipe for target 'loader_webp.o' failed
make: *** [loader_webp.o] Error 1

I suppose I need to get some webp sources/headers and copy them into the webp/ directory? Sure no problem I can probably figure this out. But the current README makes no mention or explanation whatsoever of this dependency -- perhaps something that could be improved.

I just installed this on Ubuntu 18.04 (which is Debian-based). This check in the `Makefile` failed:

I just installed this on Ubuntu 18.04 (which is Debian-based). This check in the Makefile failed:

ifneq ($(.SHELLSTATUS),0)
$(error cannot guess imlib2 version)
endif

(it depends on make being at least 4.2 and Ubuntu 18.04 still has make 4.1)
so I took it out, and after make and sudo make install, my feh now loads .webp images. Thanks a bunch!

It would be nice if someone did a PPA for Debian/Ubuntu.

Originally posted by @reinierpost in #6 (comment)

Not working on recent versions of imlib

Hey, I have a hard time getting this to work on imlib2 1.10.0. First problem seem to be that imlib2-config was dropped a few versions back. But even working around that by manually setting the Version in the Makefile now leads to errors when used with imlib2_view or feh (the same errors as when imlib2-webp isn't installed at all). Any ideas what the problems could be?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.