Using BP64, is there a version of MTPaint that can handle WebP images? Thanks!
MTPaint and WebP?
Moderator: Forum moderators
- vtpup
- Posts: 745
- Joined: Sat Aug 15, 2020 2:34 pm
- Location: Republic of Vermont
- Has thanked: 198 times
- Been thanked: 171 times
- Contact:
MTPaint and 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
- vtpup
- Posts: 745
- Joined: Sat Aug 15, 2020 2:34 pm
- Location: Republic of Vermont
- Has thanked: 198 times
- Been thanked: 171 times
- Contact:
Re: MTPaint and WebP?
Found one, Oscartalks' version .pet:
http://smokey01.com/OscarTalks/mtPaint- ... bionic.pet
nevermind.......
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
- Posts: 745
- Joined: Sat Aug 15, 2020 2:34 pm
- Location: Republic of Vermont
- Has thanked: 198 times
- Been thanked: 171 times
- Contact:
Re: MTPaint and WebP?
Also quoting Oscar....just in case anybody else reads this and wants to "normalize" WebP.:
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.
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
Re: MTPaint and WebP?
You can display a webp image in mpv
then press s
to save a screenshot as a jpg.
Crude, but it might be all that's needed at the time.
If you have mpv installed.
ripmime
If you install ripmime then uextract will extract many web formats .
This is fatdog64 version of ripmime.....
https://distro.ibiblio.org/fatdog/contr ... 6_64-1.txz
________________________________________________________
- vtpup
- Posts: 745
- Joined: Sat Aug 15, 2020 2:34 pm
- Location: Republic of Vermont
- Has thanked: 198 times
- Been thanked: 171 times
- Contact:
Re: MTPaint and WebP?
Thanks for those. They may be useful workarounds for others.
I wanted to bring WebPs into MTPaint without needing to convert to another format. Happily, OscarTalk compiled Webp support into his MTPaint .pet so that works with the the format out of the box, just like any other image file.
Now if we could just get a version of viewnior to do the same........
EDIT: I guess Viewnior doesn't prevent viewing WebPs, the problem is gdk-pixbuf on which Viewnior depends. There's an Arch version for adding WebP support in gdk-pixbuf here:
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
- OscarTalks
- Posts: 623
- Joined: Tue Jul 14, 2020 10:11 pm
- Location: London UK
- Has thanked: 2 times
- Been thanked: 247 times
Re: MTPaint and WebP?
For viewing WebP's I have vwebp (that is the name of the executable) which is the WebP viewer that comes as part of the libwebp package. In my personal remasters of Wheezy and Stretch I have compiled from source libwebp-0.6.1 but I think with Ubuntu Pups like Bionic you may be able to install the package named "webp" (which includes this viewer file) via PPM.
I have set the left click association in ROX so that any image.webp just opens in this viewer straight away. The right-click menu then offers to open image.webp in mtPaint for editing or in vwebp for viewing. Attached shows the test file "tree.webp" opened in vwebp viewer.
Hope I have got that right. It has been a while since I was tinkering with webp stuff and my memory tends to fade after a while
- Attachments
-
- vwebp-viewer.jpg (219.53 KiB) Viewed 636 times