[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] Thumbnails
From: |
Till Hartmann |
Subject: |
Re: [Denemo-devel] Thumbnails |
Date: |
Fri, 27 May 2011 16:52:12 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110503 Lightning/1.0b2 Thunderbird/3.1.10 |
Am 27.05.2011 10:09, schrieb Richard Shann:
> On Thu, 2011-05-26 at 23:01 +0200, Till Hartmann wrote:
>> I think what you have to do is to append "::Thumb::URI" to "tEXt" and
>> remove that piece from your current uri string:
>> gdk_pixbuf_save (pb, thumbpath, "png"/*type*/, &err,
>> "tEXt::Thumb::URI",
>> uri [...])
> That appears to work, thank you. I say appears as the warning message is
> gone, but I am not sure we have anything to retrieve the information
> currently...
> Richard
>
>
I checked the sourcecode, here's what needs to be changed to make it work ;)
- you need to create an md5sum of the file's URI - and that includes the
leading "file://" (be aware that due to the fact that unix paths start
with a leading slash, it will be "file:///home[...]". If you're planning
to use the thumbnails in the open-dialog, be sure to make that filename
to uri process windows safe)
- at least nautilus uses the normal-sized thumbnails as default, be sure
to store both sizes (you can never be sure which applications make use
of which thumbsize ;) )
thumbnails.diff
Description: Text document
- Re: [Denemo-devel] Thumbnails, (continued)
Re: [Denemo-devel] Thumbnails, Richard Shann, 2011/05/22
Re: [Denemo-devel] Thumbnails, Richard Shann, 2011/05/23
- Re: [Denemo-devel] Thumbnails, Till Hartmann, 2011/05/23
- Re: [Denemo-devel] Thumbnails, Richard Shann, 2011/05/24
- Re: [Denemo-devel] Thumbnails, Richard Shann, 2011/05/26
- Re: [Denemo-devel] Thumbnails, Till Hartmann, 2011/05/26
- Re: [Denemo-devel] Thumbnails, Richard Shann, 2011/05/27
- Re: [Denemo-devel] Thumbnails, Richard Shann, 2011/05/27
- Re: [Denemo-devel] Thumbnails,
Till Hartmann <=
- Re: [Denemo-devel] Thumbnails, Richard Shann, 2011/05/27
- Re: [Denemo-devel] Thumbnails, Till Hartmann, 2011/05/27
- Re: [Denemo-devel] Thumbnails, Richard Shann, 2011/05/28
- Re: [Denemo-devel] Thumbnails, Richard Shann, 2011/05/28