Results 1 to 4 of 4

Thread: HOWTO:Add WebP (weppy) support to GIMP.

  1. #1
    Join Date
    Jul 2006
    Location
    Lancashire
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Lightbulb HOWTO:Add WebP (weppy) support to GIMP.

    I used this method with Ubuntu Lucid Lynx 10.04 and GIMP 2.6.8.

    First install some packages.
    Paste this single command:-
    Code:
    sudo apt-get install \
    build-essential \
    checkinstall \
    gimp
    Then compile and install the WebP library libwebp.
    Paste this single command:-
    Code:
    cd ~/ && \
    wget http://webp.googlecode.com/files/libwebp-0.1.2.tar.gz && \
    tar -xvf libwebp-0.1.2.tar.gz && \
    cd libwebp-0.1.2 && \
    ./autogen.sh && \
    ./configure && \
    make && \
    sudo checkinstall --pakdir "$HOME/Desktop" --pkgname libwebp \
    --pkgversion 0.1.2 --backup=no --default && sudo ldconfig
    When it's finished...
    check that libwebp is installed OK with this command:-
    Code:
    cwebp -version
    ron@ubuntu:~$ cwebp -version
    0.1.2
    Now to fix GIMP.
    The WebP plugin is from here:- http://registry.gimp.org/node/25366
    Paste this single command:-
    Code:
    cd /tmp && \ 
    export LIBS=-lwebp && \
    wget http://registry.gimp.org/files/file-webp.tar_0.gz && \
    tar -xvf file-webp.tar_0.gz && \
    gimptool-2.0 --install file-webp.c
    That's it.

    When you start GIMP it should be able to open webp files.
    And also Save As... WebP image (*.webp)

    P.S.
    How to revert changes.

    To uninstall libwebp use Synaptic Package Manager.

    To un-patch GIMP?
    Delete the hidden folder /home/user/.gimp-2.6 then re-start GIMP.

  2. #2
    Join Date
    Jun 2011
    Beans
    3

    Re: HOWTO:Add WebP (weppy) support to GIMP.

    That's great! (And I'm not just saying that because I wrote the plugin )

    But there is a much easier way to install the plugin. I have setup a PPA on Launchpad that contains the packages libwebp and gimp-webp. You can find the PPA here: https://code.launchpad.net/~george-e.../+archive/webp

    After adding the PPA, it's just a matter of:

    Code:
    sudo apt-get update ; sudo apt-get install gimp-webp

  3. #3
    Join Date
    Oct 2011
    Beans
    13

    Re: HOWTO:Add WebP (weppy) support to GIMP.

    Quote Originally Posted by George Edison View Post
    That's great! (And I'm not just saying that because I wrote the plugin )

    But there is a much easier way to install the plugin. I have setup a PPA on Launchpad that contains the packages libwebp and gimp-webp. You can find the PPA here: https://code.launchpad.net/~george-e.../+archive/webp

    After adding the PPA, it's just a matter of:

    Code:
    sudo apt-get update ; sudo apt-get install gimp-webp
    This is really amazing. I appreciate this. Thank you.

  4. #4
    Join Date
    Apr 2013
    Beans
    1

    Re: HOWTO:Add WebP (weppy) support to GIMP.

    Using GNU/Linux Mint 14 based on GNU/Linux Ubuntu quantal 12.10.

    Adding PPA repository, update and install... :

    Code:
    # apt-add-repository ppa:george-edison55/webp 
    # apt-get update
    # apt-get install gimp-webp
    A problem stay ... The plugin file of gimp-webp is in /lib/gimp/2.0/plug-ins folder "instead"(?) of /usr/lib/gimp/2.0/plug-ins

    The ("bad"/"trivial") solution is to copy the file in "good" folder :

    Code:
    # cp /lib/gimp/2.0/plug-ins/file-webp /usr/lib/gimp/2.0/plug-ins/
    Is this problem known ?
    Last edited by Spaceeman; April 2nd, 2013 at 11:48 AM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •