What to do with .webp? [Solved] I think

Moderator: Forum moderators

User avatar
Sky Aisling
Posts: 210
Joined: Wed Jul 22, 2020 7:59 pm
Has thanked: 179 times
Been thanked: 9 times

What to do with .webp? [Solved] I think

Post by Sky Aisling »

Hi all, Happy Valentine's Day.

hearts0a.gif
hearts0a.gif (231 Bytes) Viewed 1317 times

See Mochi's post viewtopic.php?p=17659#p17659
Looks like there is a new image file extension showing up on the web, .webp.
I'm using BionicBeaver(64) and not able to open the file after I down load an image. Extension not recognized.
Distro: bionicpup64 8.0
Window Manager: JWM v2.3.7
Desktop Start: xwin jwm

Is this something I fix in the browser, Firefox.esr - 78.5.0esr?
Or
Is this something I fix in BionicBeaver(64)?
Or
?
Thank you in advance for any suggestions.
Sky

Last edited by Sky Aisling on Mon Feb 15, 2021 3:02 am, edited 1 time in total.
User avatar
mikewalsh
Moderator
Posts: 5575
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 570 times
Been thanked: 1682 times

Re: What to do with .webp?

Post by mikewalsh »

@Sky Aisling :-

Hallo, Sky.

Your initial assessment is absolutely correct. WebP is a 'new' image format, intendeded to give better image compression & clarity in both "lossy" & "lossless" variants. It was originally designed exclusively for web use. Developed by Google, it's a "sister" project to the WebM video container.

https://en.wikipedia.org/wiki/WebP

It has been around for a while; Google began development at least a decade ago, but it's only recently been seen 'in the wild' outside of the Google-sphere. The Wikipedia article DOES list those desktop 'apps' that apparently support WebP natively. Like you, I've only recently begun to encounter it in wider usage; I guess we'll be seeing a lot more of it in years to come.

Recent 2.10 builds of the G.I.M.P will open it; I've just d/l'ed a sample WebP file, and used GIMP 2.10 to open it with. Rox, for some reason, assigns it the same icon as an audio clip - the "double-note" (/x-riff 'run action')- but GIMP 2.10 will open and display it, correctly.

Mike. ;)

Last edited by mikewalsh on Sun Feb 14, 2021 11:17 pm, edited 2 times in total.

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

User avatar
Sky Aisling
Posts: 210
Joined: Wed Jul 22, 2020 7:59 pm
Has thanked: 179 times
Been thanked: 9 times

Re: What to do with .webp?

Post by Sky Aisling »

Thanks, Mike,
Are you able to open the .webp images? I can download them, but, not open them.
If so, how?
Sky

User avatar
Sky Aisling
Posts: 210
Joined: Wed Jul 22, 2020 7:59 pm
Has thanked: 179 times
Been thanked: 9 times

Re: What to do with .webp?

Post by Sky Aisling »

Rox, for some reason, assigns it the same icon as an audio clip - the "double-note" (/x-riff 'run action')- but GIMP 2.10 will open and display it, correctly.

I tried opening it in MtPaint, "file format not recognized".
Gimp is a huge program that I leave off my OSes as a rule.
Yes, a double music note as the associated icon.
I can change the file extension in MtPaint, then save, but, the save doesn't show up anywhere.
A puzzlement.

Sky

User avatar
mikewalsh
Moderator
Posts: 5575
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 570 times
Been thanked: 1682 times

Re: What to do with .webp?

Post by mikewalsh »

@Sky Aisling :-

See above.

A dev by the name of 'aferrero' maintains a 'continuous' AppImage build of GIMP 2.10 over at Github. These AppImages work flawlessly in recent 64-bit Puppies; I've been using them for quite some time now.

There's a huge list of these - over 140 of them..! The following is a direct link to the newest release of this that will run OK for you - the 'full' build with all plug-ins included:-

https://github.com/aferrero2707/gimp-ap ... 4.AppImage

I'll warn you; this is a big download. 168MB in total.....but all you do is to rt-clk->Properties->check all 3 'Exec' boxes down the bottom->Refresh->OK. Then a left-click should launch it; it takes a few seconds for anything to happen, because these unpack themselves into /tmp for the duration, and run from there.....

Mike. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

User avatar
mikewalsh
Moderator
Posts: 5575
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 570 times
Been thanked: 1682 times

Re: What to do with .webp?

Post by mikewalsh »

Sky Aisling wrote: Sun Feb 14, 2021 11:37 pm

Rox, for some reason, assigns it the same icon as an audio clip - the "double-note" (/x-riff 'run action')- but GIMP 2.10 will open and display it, correctly.

I tried opening it in MtPaint, "file format not recognized".
Gimp is a huge program that I leave off my OSes as a rule.
Yes, a double music note as the associated icon.
I can change the file extension in MtPaint, then save, but, the save doesn't show up anywhere.
A puzzlement.

Sky

Unfortunately, all the apps that currently support it are either Windoze apps (need running via WINE) - or 'heavyweight' Linux apps. There simply aren't any small, lightweight, Puppy-type apps that yet support it.

Might be simplest just to avoid .webp images!

Mike. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

User avatar
Sky Aisling
Posts: 210
Joined: Wed Jul 22, 2020 7:59 pm
Has thanked: 179 times
Been thanked: 9 times

Re: What to do with .webp?

Post by Sky Aisling »

I'll warn you; this is a big download. 168MB in total.

Sigh! to open .webp files is the only reason why I would need GIMP.
Yeah, you are probably right, skip opening .webp files, but, I have a feeling they will become ubiquitous soon.
Thanks, Mike.
Sky

User avatar
mikewalsh
Moderator
Posts: 5575
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 570 times
Been thanked: 1682 times

Re: What to do with .webp?

Post by mikewalsh »

@Sky Aisling :-

Hang about. I've just made a discovery.....which I overlooked in that Wikipedia article.

Open up the PPM. Make sure you're up-to-date first, then search for

Code: Select all

gthumb

It's a small, lightweight image viewer.....that supports WebP. Should do what you want. It works with my sample download. Let us know if it works for you, please.

Mike. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

User avatar
Sky Aisling
Posts: 210
Joined: Wed Jul 22, 2020 7:59 pm
Has thanked: 179 times
Been thanked: 9 times

Re: What to do with .webp?

Post by Sky Aisling »

Hang about. I've just made a discovery.....which I overlooked in that Wikipedia article.

Open up the PPM. Make sure you're up-to-date first, then search for

Code: Select all

gthumb

It's a small, lightweight image viewer.....that supports WebP. Should do what you want. It works with my sample download. Let us know if it works for you, please.

OK, I updated PPM data base(s).
Which do I choose? See screenshot.

Attachments
webp-2-gthumb(1).png
webp-2-gthumb(1).png (77.81 KiB) Viewed 1289 times
User avatar
mikewalsh
Moderator
Posts: 5575
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 570 times
Been thanked: 1682 times

Re: What to do with .webp?

Post by mikewalsh »

@Sky Aisling :-

The one you've got highlighted.....'gthumb 3.6.1-1'. It'll pull-in 'gthumb-data 3.6.1-1', below, and whatever else it needs.....which isn't much.

Mike. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

User avatar
Sky Aisling
Posts: 210
Joined: Wed Jul 22, 2020 7:59 pm
Has thanked: 179 times
Been thanked: 9 times

Re: What to do with .webp?

Post by Sky Aisling »

I'll shut down browser and start over...

Attachments
webp-2-gthumb-error(1).png
webp-2-gthumb-error(1).png (104.22 KiB) Viewed 1296 times
User avatar
Sky Aisling
Posts: 210
Joined: Wed Jul 22, 2020 7:59 pm
Has thanked: 179 times
Been thanked: 9 times

Re: What to do with .webp?

Post by Sky Aisling »

OK, turned of Firefox.esr and rebooted BB(64).
I'll test now. Back in a moment.

Attachments
webp-2-gthumb-3.png
webp-2-gthumb-3.png (35.6 KiB) Viewed 1294 times
User avatar
Sky Aisling
Posts: 210
Joined: Wed Jul 22, 2020 7:59 pm
Has thanked: 179 times
Been thanked: 9 times

Re: What to do with .webp?

Post by Sky Aisling »

OK, downloaded and executed gThumb.
I was able to copy the image and post it in a test email.
I then I attempted to post it here to you.
This is the message I'm getting file to big apparently.
But, look at the properties?
I'll try again.
Opps! Forum rule at bottom of page says:

Maximum filesize per attachment: 512 KiB

I'll try cutting the file shot down in size.
Back in a moment.

Attachments
webp-2-gthumb-5.png
webp-2-gthumb-5.png (92.37 KiB) Viewed 1294 times
User avatar
Sky Aisling
Posts: 210
Joined: Wed Jul 22, 2020 7:59 pm
Has thanked: 179 times
Been thanked: 9 times

Re: What to do with .webp?

Post by Sky Aisling »

OK, I reduced image size using gThumb.
I placed reduced image into an email to myself.
Took forever to send image to myself, but, net is slow tonight.
Finally, the image was sent to my mailbox per normal.
I attached same image to this current post.
There was no complaint by forum that image was too large.
However...
attachment not showing in post preview.

User avatar
Sky Aisling
Posts: 210
Joined: Wed Jul 22, 2020 7:59 pm
Has thanked: 179 times
Been thanked: 9 times

Re: What to do with .webp?

Post by Sky Aisling »

webp-2-gthumb-7.png
webp-2-gthumb-7.png (436.08 KiB) Viewed 1286 times

Image shows only if I 'place in line' on this forum post.

webp-2-gthumb-6-email-test.png
webp-2-gthumb-6-email-test.png (143.76 KiB) Viewed 1286 times
User avatar
OscarTalks
Posts: 604
Joined: Tue Jul 14, 2020 10:11 pm
Location: London UK
Has thanked: 1 time
Been thanked: 227 times

Re: What to do with .webp?

Post by OscarTalks »

Booted a fresh Bionic64 with nothing added. Downloaded a sample .webp image file.
Viewnior does not display it. Neither does mtPaint in this Puppy.
Any of these would need to have been compiled with webp support (linked to libwebp at build time - my builds of mtPaint have webp support).
The only on-board program that does display webp is Palemoon.

The mime-type issue is a bit of an inconvenience.
I did a test fix by adding to /usr/share/mime/packages/puppy.xml the lines:-

Code: Select all

<mime-type type="image/webp">
    <comment>WebP image</comment>
    <glob pattern="*.webp"/>
  </mime-type>

Then in terminal

Code: Select all

update-mime-database /usr/share/mime

and restart X
This changes the silly audio_x-riff mime-type in ROX to the correct image_webp and makes it easier to set up left-click and right-click associations for any image viewers you install or for Palemoon as the viewer.

Attachments
webp-bionic64.jpg
webp-bionic64.jpg (166.52 KiB) Viewed 1286 times
User avatar
MochiMoppel
Posts: 1117
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 17 times
Been thanked: 359 times

Re: What to do with .webp?

Post by MochiMoppel »

mikewalsh wrote:

Unfortunately, all the apps that currently support it are either Windoze apps (need running via WINE) - or 'heavyweight' Linux apps. There simply aren't any small, lightweight, Puppy-type apps that yet support it.

Ahemmm...MMview supports it ;)

User avatar
Sky Aisling
Posts: 210
Joined: Wed Jul 22, 2020 7:59 pm
Has thanked: 179 times
Been thanked: 9 times

Re: What to do with .webp?

Post by Sky Aisling »

I tried Palemoon 28.17.0(64bit) resident in BionicBeaver(64) to download what Firefox.esr 78.5.0 tells me is a .webp file.

Palemoon downloaded the file as JPG.

So, the solution is use Palemoon 28.17.0(64) in BionicBeaver(64) to download .webp files? Right?

Palemoon must have some kind of conversion routine when it encounters .webp files?

I'll mark this thread 'solved' if this is correct.

Thank you Oscar Talks.

Sky

User avatar
MochiMoppel
Posts: 1117
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 17 times
Been thanked: 359 times

Re: What to do with .webp?

Post by MochiMoppel »

Sky Aisling wrote: Mon Feb 15, 2021 2:24 am

Palemoon downloaded the file as JPG.

Palemoon 28.9.1 downloads a .webp file as WEBP!
Try https://developers.google.com/speed/webp/gallery1

User avatar
mikewalsh
Moderator
Posts: 5575
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 570 times
Been thanked: 1682 times

Re: What to do with .webp?

Post by mikewalsh »

MochiMoppel wrote: Mon Feb 15, 2021 2:01 am
mikewalsh wrote:

Unfortunately, all the apps that currently support it are either Windoze apps (need running via WINE) - or 'heavyweight' Linux apps. There simply aren't any small, lightweight, Puppy-type apps that yet support it.

Ahemmm...MMview supports it ;)

@MochiMoppel :-

Mochi, I take my hat off to you, mate. That's bloody brilliant.

I kind of overlooked this on the old forum. I got the impression, from others mentioning it, that MM_View was simply another file-manager, so I didn't look any closer. I stand corrected..!

This is very like XNView.....only more so. That was the only native Linux app I'd come across that would display both images AND videos in the same application. Well this will (if you count playing your videos via the default media player; in my case, that's SMPlayer, so I'm happy with that), only this also displays just about every other kind of file (and information!) you can think of, too.

I've just set this up in jrb's 'lite' spin on BK's Quirky64 'April' 7.0.1, along with MenuEntries under Filesystem, Graphic and Multimedia. Nice one. This is very much appreciated, my friend. Cheers!

Mike. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

User avatar
OscarTalks
Posts: 604
Joined: Tue Jul 14, 2020 10:11 pm
Location: London UK
Has thanked: 1 time
Been thanked: 227 times

Re: What to do with .webp?

Post by OscarTalks »

If you want to be able to view and edit a .webp image, best thing to do is recompile the very latest mtPaint 3.50.05 from source, making sure to configure for webp support. I have done that. The .PET is here:-
http://smokey01.com/OscarTalks/mtPaint- ... bionic.pet

Attachments
webp-mtpaint.jpg
webp-mtpaint.jpg (134.08 KiB) Viewed 1238 times
User avatar
p310don
Posts: 293
Joined: Tue Dec 03, 2019 7:17 am
Location: Brisbane, Australia
Has thanked: 55 times
Been thanked: 92 times

Re: What to do with .webp? [Solved] I think

Post by p310don »

I've had luck with webp by simply right click on the web image, copy, and then paste into gimp and it copies fine. Then can save as whatever from there.

User avatar
MochiMoppel
Posts: 1117
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 17 times
Been thanked: 359 times

Re: What to do with .webp?

Post by MochiMoppel »

OscarTalks wrote: Mon Feb 15, 2021 2:57 am

If you want to be able to view and edit a .webp image, best thing to do is recompile the very latest mtPaint 3.50.05 from source, making sure to configure for webp support.

Recompiling from source sounds like a lot of work, especially when using multiple Puppy or mtPaint versions. Another way would be to edit as usual in the image editor of choice and then convert the resulting PNG/JPG/GIF image to WEBP. Google offers small, ready-to-use command line tools to convert from/to WEBP and even a simple viewer. Newest versions only 64bit, but the last available 32bit versions contained in package libwebp-0.6.1-rc2-linux-x86-32.tar.gz work fine with older Puppies. All versions available in https://storage.googleapis.com/download ... index.html

User avatar
Sky Aisling
Posts: 210
Joined: Wed Jul 22, 2020 7:59 pm
Has thanked: 179 times
Been thanked: 9 times

Re: What to do with .webp? [Solved] I think

Post by Sky Aisling »

Hi All,

The little program gThumb is working pretty good for my needs. A lot better than having the huge GIMP program hanging around. :)

Sky

User avatar
vtpup
Posts: 707
Joined: Sat Aug 15, 2020 2:34 pm
Location: Republic of Vermont
Has thanked: 178 times
Been thanked: 151 times
Contact:

Re: What to do with .webp? [Solved] I think

Post by vtpup »

I'm starting to have this same problem in viewing webP content in other fora as thread post attachments, using Seamonkey as browser (ver 2.53.15 -- current as of this time) on Bionicpup64.

Yes, I can download a webP file and view in a graphics program like Gimp, but that's way too much work for casual post reading. I'd like to be able to just see web forum photo attachments displayed directly in the browser, as I can with jpgs and pngs.

Is there any solution for this problem for BionicPup64, other than changing browsers? Or have I got something set wrong on my particular system?

Thanks for your help, guys, as usual!

HP Envy Laptop 17t-cr100
Fossapup F-96 CE rev 4
Huge kernel: huge-6.1.8-fossapup64

My homemade foam boat:
www.youtube.com/watch?v=4sDubB0-REg

User avatar
vtpup
Posts: 707
Joined: Sat Aug 15, 2020 2:34 pm
Location: Republic of Vermont
Has thanked: 178 times
Been thanked: 151 times
Contact:

Re: What to do with .webp? [Solved] I think

Post by vtpup »

Hmm, just tried the Google WebP gallery, and in fact Seamonkey DOES properly display the images there. Now I'm thinking that the problem is somehow related to the forum attachments themselves, rather than something in Seamonkey. I can download them, but when I click on them the browser reports unsupported format. I'll have to look into that further ...

HP Envy Laptop 17t-cr100
Fossapup F-96 CE rev 4
Huge kernel: huge-6.1.8-fossapup64

My homemade foam boat:
www.youtube.com/watch?v=4sDubB0-REg

User avatar
vtpup
Posts: 707
Joined: Sat Aug 15, 2020 2:34 pm
Location: Republic of Vermont
Has thanked: 178 times
Been thanked: 151 times
Contact:

Re: What to do with .webp? [Solved] I think

Post by vtpup »

Okay to get specific, here is an example attachment that seems to be misidentified by Seamonkey as a bin file and only offers to save it.

https://www.modelenginemaker.com/index. ... ach=143088

When downloaded and the file clicked on, Viewnior also cannot display it.

Open in MtPaint works, since it seems to have been compiled with WebP support.

Attachments
WebPerrormsg.png
WebPerrormsg.png (17.73 KiB) Viewed 927 times

HP Envy Laptop 17t-cr100
Fossapup F-96 CE rev 4
Huge kernel: huge-6.1.8-fossapup64

My homemade foam boat:
www.youtube.com/watch?v=4sDubB0-REg

williwaw
Posts: 1595
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 145 times
Been thanked: 291 times

Re: What to do with .webp? [Solved] I think

Post by williwaw »

appimage at bottom of page https://github.com/ImageMagick/ImageMag ... g/7.1.0-62
and if you want to write a script for a single usage https://imagemagick.org/script/command- ... essing.php

User avatar
norgo
Posts: 252
Joined: Mon Jul 13, 2020 6:39 pm
Location: Germany
Has thanked: 5 times
Been thanked: 93 times
Contact:

Re: What to do with .webp? [Solved] I think

Post by norgo »

@vtpup
please check your seamonkey browser
SM built with webp and enabled ?

seamonkey_webp.jpg
seamonkey_webp.jpg (28.91 KiB) Viewed 901 times
User avatar
vtpup
Posts: 707
Joined: Sat Aug 15, 2020 2:34 pm
Location: Republic of Vermont
Has thanked: 178 times
Been thanked: 151 times
Contact:

Re: What to do with .webp? [Solved] I think

Post by vtpup »

Thanks williwaw, norgo.

Norgo, yes webp enabled in SM per your about:config

williwaw, for some reason not seeing the appimage....checking again...

Assets just keeps circling, but no code.

Switching over to Firefox. Now I see the appimages. Sites seem to be giving Seamonkey more and more problems.

HP Envy Laptop 17t-cr100
Fossapup F-96 CE rev 4
Huge kernel: huge-6.1.8-fossapup64

My homemade foam boat:
www.youtube.com/watch?v=4sDubB0-REg

Post Reply

Return to “Tips & Tweaks”