gawen947 / imlib2-webp Goto Github PK
View Code? Open in Web Editor NEWA webp loader for imlib2
Home Page: http://www.hauweele.net/~gawen/imlib2-webp.html
License: Other
A webp loader for imlib2
Home Page: http://www.hauweele.net/~gawen/imlib2-webp.html
License: Other
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.
Imlib2 recently added support for animated image.
The official WebP loader seems to support this and we should add it too.
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:
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)
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?
Hi there, could you please release a tagged version so it's easier for packaging in a distribution like Void
For older versions of Imlib2, we should support both imlib2-config and pkg-config.
render webp with imlib2-webp through feh.
static webp works well, but animation could not be rendered.
sample: https://drive.google.com/file/d/1YgRDEc9UbeC5rXUrMfjp6JI_K4Fi6EDW/view?usp=sharing
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.