Tuesday, May 24, 2011

Vliv support for WebP format

Now that WebP is supported widely, I have created the little plugin for Vliv that allows loading a webp image.
It is very simple, as only two API calls are necessary, WebPGetInfo and WebPDecodeBGRInto

On a sample image found on the web it seem to work fine, and is quite fast. The final plugin dll is only 106496 bytes thanks to a precompiled webp library for Windows (libwebp-0.1.2-windows).

Vliv framework is an ideal way of testing new formats as its API is very simple, the entire code for loading WebP images is 85 lines of C.

Source code is available on demand.

Wednesday, February 9, 2011

Google Art Project

Google Art Project is a collection of very high resolution images of paintings/photos.
Unfortunately it is only available through the Web...
So I made a quick hack to generate offline images suitable for display with my viewer, VLIV.
It is incredibly easy to get the data, but I will not disclose how, since the Google Art Project license prevents it.

Here is a screendump of Van Gogh's Starry Night in Vliv.