WebP Import / Export

This plugin makes it possible to load and save files using the new WebP image format. (http://code.google.com/speed/webp/)

When saving images in this format, you will be able to specify a quality factor that can range from 0 to 100. The higher the number, the larger the file produced and the better the quality of the image.

Since there is currently no provision for alpha channels in WebP images, all images loaded with this plugin will not have an alpha channel. As well, when saving images, you will be prompted to flatten the image if it contains an alpha channel.

Compressed archive of source code and instructions.15.6 KB
Windows 32-bit binary build of the WebP plugin.70.95 KB
Average: 5 (1 vote)


Good plug-ing and interesting format

The only issue I had with the Windows version on XP SP3 was the nasty black console because the plugin was linked without LDFLAGS=-mwindows.

But it made me discover that such ill-linked executables could be patched by modifying only byte dc from 03 to 02, as I wrote in the Flickr Gimp Users group: http://www.flickr.com/groups/gimpusers/discuss/72157627027249459/

You can path the exe by yourself with an hex editor, or download it from here: http://pagesperso-orange.fr/fcollard/Zip/file-webp_win32_patched.zip

Thanks for the patch

Thanks for pointing that out. I didn't compile the plugin on Windows - I compiled it on Linux using Mingw32 in CodeBlocks, so I'll have to check to see what needs to be changed in the configuration settings in order to avoid having the console show up.

Plugin issues

Plugin worked fine, just as described, on my GIMP2.6.11 32bit/Vista 64-bit till the moment I used Filters/Script-Fu/ Refresh Scripts command. I still can save files from Script-Fu console, but those would not re-open in GIMP although it still opens .webp files I saved before the problem occurred. Tried to reinstall plugin. No success.
Any ideas, please.

Possible Solution

I had found and fixed an earlier bug in the Linux version. I have applied the same patch to the Windows version and recompiled the plugin. Hopefully that fixes your problem.

Well done

OK, the patch definitely works, at least on my machine I can convert files without a hint of trouble. I tested the plugin in all possible ways. IT IS very useful for my project and gonna save me loads of time. Thanks a lot for your quick response and effective solution. GIMP foreva

Will there be

a Windows binary released?

Windows Binary Now Available

I have now released a Windows binary that I somehow managed to build with Mingw32. Please let me know if it works properly - I tested it with Gimp in Wine.

Tests win32 binary


Thank you, the plugin works well with Gimp 2.6.11 32 bits /w7 64 bits .

I can open & save image (.webp).
SRWare Iron can open .webp created with Gimp.

Windows Binary

Hopefully yes. I am in the process of setting up Mingw32 to compile Gimp plugins so we'll see how that goes. I do have Visual C++ 2010 Express installed if that doesn't work.

Syndicate content