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:-
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.
Bookmarks