How to encode and decode webp images with existing tools

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

How to encode and decode webp images with existing tools

#1 Post by musher0 »

Hello.

Some feel it was a mistake on my part to post the result of my research:
http://murga-linux.com/puppy/viewtopic. ... ost#976175
underneath the question asked on this thread:
http://murga-linux.com/puppy/viewtopic. ... ost#976170

And those people are right: the tools I uncovered are not for the Puppy coterie,
they are for all Puppy users.

In short, you can encode and decode (aka convert) webp images with this pet
package: libwebp-0.6.1-linux-x86-32.pet, available on zippyshare for the next
month: http://www43.zippyshare.com/v/jAcl4HY9/file.html (850 kB)

Please help yourselves if you need this package. I have tested it successfully
on xenialPup. I believe it is "distro-agnostic", but confirmation would be nice.

That pet is a puppyfication of the Google tools found here:
https://developers.google.com/speed/webp/download
for doing so.

You'll find other URLs leading to other solutions on the Puppy forum thread above,
if you are not satisfied with the tools made available by the Google devs.

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#2 Post by musher0 »

Hello all.

I will simply add that I have made a fresh compilation of the netpbm "advandced"
tools, available through here:
http://murga-linux.com/puppy/viewtopic.php?t=112265

I mention it because using both Google's dwebp utility and netpbm's pnmtojpeg utility
it's a cinch to convert a webp image to the jpg format.

Code: Select all

dwebp 2.webp -ppm -o 2.ppm
pnmtojpeg -quality=99 2.ppm > 2.jpg
The result is attached at the end of the above-mentioned post.

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#3 Post by slavvo67 »

Hi Musher0:

How have you been? I'm not sure but couldn't something like this be done with ffmpeg?



Slavvo67

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#4 Post by musher0 »

Hi slavvo67.

I'm fine! And you? :)

In answer to your question: It can, when the Pup has the needed libraries.

I'm simply exploring further a route I already know, I mean the netpbm suite.

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Post Reply