Unfortunately the viewnior (default image viewer) that ships with BP64 cannot open webp files.
Is there an updated version .pet, or alternative viewer that can?
Thanks!
Moderator: Forum moderators
Unfortunately the viewnior (default image viewer) that ships with BP64 cannot open webp files.
Is there an updated version .pet, or alternative viewer that can?
Thanks!
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
Are you sure Viewnior won't open it? Mine does and I don't recall doing anything special. Maybe I just established an association which --taking only a couple minutes-- I forgot doing.
Try this: file browse to a picture ending with .webp. Right-Click it and see if the pop-up menu offers viewnior. That might work. If not, Left-click "Set Run Action". In the GUI which opens, below the phrase "Enter Shell Command" mine has this entry:
defaultimageviewer "$1"
Viewnior was set as the default image viewer using Menu>Setup>Default Application Chooser.
The version of Viewnior I have in Bionicpup64 is 1.6. Puppy Package Manager offers that version patched. If the above didn't solve the problem, install the patched version. Then repeat the step above as necessary.
[Currently, I also have gthumb installed, and --while I now use gimp-portable-- I once had gimp installed via Quickpet. Uninstalling just that gimp left some libraries. Both have plugins for webp files. So it is possible that those installations provided the plugin Viewnior needs. Hopefully NOT. They are much larger than viewnior and figuring out what files Viewnior would need in their absence might be a chore].
Hi Mike, thanks!
Nope it had been associated before as defaultimageviewer. I changed that after I couldn't open webp files. However just now I opened a test webp and did an open with viewnior, and no joy. It is version 1.6. see below. I'll look for the patched version.
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
Patched version looks like it's already installed.....?
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
Thanks norgo:
Here are two:
https://www106.zippyshare.com/v/ydfvuiva/file.html
https://www106.zippyshare.com/v/u2Lt8kvT/file.html
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
If you just want a viewer, this is vwebp which is a viewer utility which comes with the libwebp source.
Seen here in my remastered Wheezy Pup displaying a webp image file
Thanks Oscartalks. Does it work as a viewer for all image types like Viewnior?
I can open local webp files in mtpaint and Seamonkey (I can't open attachment webp's in Seamonkey, but that's another issue discussed elsewhere).
This particular request is for a viewer like viewnior that opens webps as well as other image formats to be used as the BP64 default image viewer.
Thanks!
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
Hi norgo, thanks, Did you click "Download now" to download the files?
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
Some info about Viewnior and webp:
https://github.com/hellosiyan/Viewnior/issues/99
Apparently it needs the non-standard "WebP GDK Pixbuf Loader" (webp-pixbuf-loader) to open webp images.
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
403 Forbidden
nothing to click
okay I will try the other ones
can't detect image examples for testing , sorry.
Well I can just attach them here, really.
But I think that it probably has nothing to do with a file problem. Viewnior is stated by its author not to work with webp files because, as mikeslr said awhile back, it edpends on gdk-pixbuf under the hood, which does not support WebP.
It looks like there is an add-on for gdk, mentioned in my last post that will add non-standard gdk file support, including webp.
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
I'm afraid vwebp is a small viewer only for webp files so will not open other formats.
What you can do (as I have done on my system) is have all the other image formats set to open with "defaultimageviewer", but the left click MIME association in ROX is set to open .webp files with vwebp viewer. This does the job if all you want to do is see it when you click on it. I also have right-click on .webp files in ROX offering me mtPaint or netsurf browser to edit or view the webp image file. I don't think viewnior can be compiled to support webp, not sure about other viewers. Mochi was pointing out that his MMview supports it, but that seems to do lots of other things too so not sure what the experience is like for using it as a simple image viewer.
Oscar, thanks, I had already done that with mtpaint, but not very convenient.
But what do you think of post about:
https://github.com/aruiz/webp-pixbuf-loader
apparently this will add webp to viewnior
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
@vtpup :-
I'm not certain if I mentioned it before, but for .webp support I've always found gThumb to be the answer. This is available directly thru the PPM for any of the 'buntu-based Puppies - definitely for Xenialpup, which is where I am currently - and I'm pretty certain it's been installed in my own BP64.
AFAIK it works with most other formats, too.....certainly with .jpg, .png and .gif (the three most common formats in general use, I believe).
Mike.
Did you compile that lib? What's the version? I've tried to compile 0.2.0 on Fossapup64-9.5 - no warnings but it segfaults. Version 0.0.7 works well though.
FEH will view them. It should be in the package manager. Its a command line viewer but I have it set as the default for webp files
Thank you @MikeW, mikeslr also mentioned gthumb back at the start of the thread, so on your recommendation I loaded it and tried it out. It is large (92 mb) but it does also have a lot of features that Viewnior does not. The BP64 version does indeed open webp images. I'm not sure yet whether I like the fact that it always shows thumbnails, logical as that is for a program with that name! I'll have to use it some to see if I want it as my default image viewer. But it does look good, so far.
@norgo, great news, but how does one add it simply, or can a patched viewnior pet include it? If Viewnior is the standard CE Ubu puppy image viewer, it would be helpful if webp functionality were to be included. Hopefully the size is relatively small. But thanks very much for making it work, and I'd certainly like to try it out!
@spiritwild That's good to know but as mentioned earlier I really need a default image viewer that handles all common image types, rather than piecing it out to various single function filetype viewers. A default image viewer should offer consistent functions across all types (next image, rotate, slideshow, zoom, delete, etc.) which is not possible with a collection of one filetype viewers. But thank you for the suggestion, and maybe someone else is looking for what you've suggested.
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
Hello vtpup
It would be quite a simple case of installing a .pet of this little library which is an extra loader for gdk-pixbuf. Viewnior uses gdk-pixbuf to display the images so it is not a case of patching viewnior.
Thanks to norgo for confirming that it works.
The developer does seem to be tinkering around with it over the last few days with versions 0.1.x and 0.2.0 which looks like a bit of a fundamental rewrite/rethink, so it might be worth hanging on a bit and keeping an eye to see if he does more updates.
I tried it in my Stretch Pup and 0.2.0 did give an error in compiling.
As Burunduk reported, version 0.0.7 compiles and works OK though.
Thank you Oscar! That's great. No problem with a wait to see if the author straightens out the current version. I have plenty of workarounds now for viewing a local webp file. But eventually it would be good to have this as a .pet for viewnior.
I wonder also, if Gimp would benefit from it? I use Gimp 2.8 -- didn't like 2.10, so sticking with 2.8 version. But that version does not handle webp, Maybe this gdk pixbuf .pet will help several older programs.....
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
@vtpup
Fossapup64 9.5
[ DEPS: libwebpdemux2 ]
important ! install libwebpdemux2 at first !
--------------------------------------------------------------------------------------------------------
Slackware64 15.0 basing Distros
OscarTalks wrote: ↑Sat Feb 25, 2023 4:45 pmThe developer does seem to be tinkering around with it over the last few days with versions 0.1.x and 0.2.0 which looks like a bit of a fundamental rewrite/rethink, so it might be worth hanging on a bit and keeping an eye to see if he does more updates.
It seems to be related to https://github.com/aruiz/webp-pixbuf-loader/issues/67
Version 0.2.0 is OK and will run in jammy.
libwebpdemux2 is the only dep missing in Fossapup64-9.5. With it included and the libpixbufloader-webp.so stripped the pet can be even smaller.
Will the Fossa version run on Bionic64?
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
I'm not sure if it will. No-one seems to have reported either way (EDIT - I think it does work if you install libwebpdemux via PPM as indicated)
I didn't have a frugal of Bionic64 to hand the other day, but I dug one out and had a go at compiling. As previously mentioned, the version 0.2.0 builds, but segfaults when you try to use it. I made a package of version 0.0.7 in Bionic64 with libwebpdemux included. You can give it a test run for now if you wish. It is easy to uninstall and upgrade if a later working version is released.
Yes, Oscar your .pet does work in BP64!
Thank you for going to the trouble to create a frugal, compile and add the additional dependency! I appreciate it very much.
I'm sorry I didn't reply sooner, but home life requirements meant I wasn't able to check back until today.
Great, Viewnior works with webp!
(ps I found gthumb nice and full featured but navigation was not as simple or speedy as Viewnior for the everyday tasks I need a viewer for, so I took it out of Default Applications and replaced it with Viewnior again.)
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