Skip to main content
Topic: Missing Library? (Read 757 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Missing Library?

Hi,

I am kind of buffled on this. What is the library that makes displaying .webp images in Caja (Mate) and Eye of Mate. Neither of them is capable of dislplaying .webp images. Dolphin and Gwenview are displaying them fine, but Mate software doesn't.  "libwebp" is already installed by default. What's going on? Could you also check if "arythmetical .jpeg" (20 year old standard) is displayed too?

Haven't checked login software, but under KDE, SDDM displays .webp fine. LightDM too. Could you check that in MATE (GDDM??). Lock screens in KDE works fine with .webp

Thank you.

Re: Missing Library?

Reply #1
you can see here https://www.archlinux.org/packages/extra/x86_64/libwebp/ which packakeg use webp library.
I dont think, that "old renamed Gnome2" alias Mate have implemented this. Because wikipedia says: "Eye of GNOME does not support WebP, DirectDraw Surface (.dds) or JPEG 2000, but gThumb another official GNOME image viewer, does support at least WebP since September 2012", so Eye of Mate have same (= none) support of webp.

KDE have support via qt5-imageformats package.

 

Re: Missing Library?

Reply #2
Thank you very much for the answer.

I would also like to comment about this situation, because this problem is a very good example of a much wider problem. In recent times everyone goes the route of these "self contained apps". This is completely wrong, because every single app or a piece of a code, would need its own library.

Then, if one library has glitch we have disaster. Why? Because you have to update each application (even if its something like delta rpm) separately. And immediately you have a big mess, because each software uses different version of the library (most won't even notice and continue using the library with glitch). What if that library has security holes? Zero day exploits.

So here we have similar problem. Instead of using one single library to cater for photos, we have a complete disaster. On one hand we have libwep which sits unusable for most software (the same goes for arithmetically encoded jpgs- libjpegturbo library):

None of the following displays all types of photos (encoding that is GPL and  is on the market for years):
-most image viewers like Eye of Mate, Nomacs, etc;
-most file managers (pcmanFM-qt, Caja from Mate, etc)
-most of logins (LightDM,  also lock screen, sometimes desktop wallpaper dislpaying library -vide Lxqt).

And on top of this we have some "layers" which sometimes help. Like KDE layer/plugin for other formats (qt5-imageformats- whatever that library is) that all KDE software but not others use. Good solution, but not perfect, because its only KDE, not DE or even system agnostic.


If only all of them were using one "single" library to manage/display pics in all apps. Well I found this:
http://freeimage.sourceforge.net/

From the description: "FreeImage is an Open Source library project for developers who would like to support popular graphics image formats like PNG, BMP, JPEG, TIFF and others as needed by today's multimedia applications. FreeImage is easy to use, fast, multithreading safe, compatible with all 32-bit or 64-bit versions of Windows, and cross-platform (works both with Linux and Mac OS X)."

As for image viewer I found only one (for the one that would be of interest to us is only GTK2) that is GNU GPL licensed. Rest is freeware/shareware crap. But the idea, I think, is good. Talk about small, nible distro. Now everything is from over 2 to 3 GiB).