[2/4] tools: enable .lnk thumbnailing in Gnome

Damjan Jovanovic damjan.jov at gmail.com
Wed Jul 28 10:21:41 CDT 2010


On Wed, Jul 28, 2010 at 5:11 PM, Frank Richter <frank.richter at gmail.com> wrote:
> On 28.07.2010 09:36, Damjan Jovanovic wrote:
>> thumbnails that are missing on every startup. But even if this is
>> acceptable solution, it's still hard to implement, because the
>> thumbnail cache spec requires specific thumbnail sizes (128x128 or
>> 256x256) and a special pixel format (256 colour indexed-mode PNG IIRC)
>
> Differing sizes are no problems. Prominent example: if you have picture
> with an aspect ratio other than 1, the thumbnail won't be square. The
> file managers usually handle that quite fine ...
>
> The spec actually says that thumbnails for small images don't have to be
> saved; though in practice I'd expect that a 32x32 sized thumbnail shows
> up as 32x32 (and not scaled up or so).
>
> Colors: spec says “it must be a 8bit, non-interlaced PNG image with full
> alpha transparency”. It's somewhat ambiguous, but indexed colors seem
> unlikely - 32bit RGBA images (ie 8 bit per channel) is what every
> thumbnailer practically creates.
>
> Link for above info: http://jens.triq.net/thumbnail-spec/creation.html
>
> -f.r.
>
>
>
>
>

The PNG thumbnail attributes are the problem then. They require WIC to
support metadata writing, which Wine's doesn't atm.

Damjan



More information about the wine-devel mailing list