how to install webp plugin for gimp?

Solution 1:

Note: the WebP plugin is going to be included in the next version of the Gimp (version 2.8+) as a built-in plugin (later, this plugin was shipped in GIMP 2.9 branch, and received multiple improvements). The PPA can still be used to enable WebP support in the meantime.

I have updated the packages available in the WebP PPA to the latest Ubuntu releases. After adding the PPA, you can use the plugin simply by installing the gimp-webp package.

I also migrated the plugin over to CMake, so building the plugin is a lot easier now:

  1. Install the following packages:

     sudo apt-get install build-essential git cmake libgimp2.0-dev libwebp-dev
    
  2. Checkout the source code:

     git clone https://github.com/nathan-osman/gimp-webp
    
  3. cd to the new directory and create a build/ directory:

     cd gimp-webp
     mkdir build
     cd build
    
  4. Build the plugin:

     cmake ..
     make
    
  5. Install the plugin:

     sudo make install
    

That's it!