Re: Question about importing



On Mon, 2008-01-21 at 17:00 -0800, Bill Moseley wrote:
> On Tue, Jan 22, 2008 at 12:15:47AM +0100, Lorenzo Milesi wrote:
> > Il giorno lun, 21/01/2008 alle 12.02 -0800, Bill Moseley ha scritto:
> > > BTW -- do you know anything about how the thumbnail paths are found?
> > > The path does not seem to be in the database.
> > 
> > Thumbnails are taken from Gnome's standard large thumb dir
> > (~/.thumbnails/large/).
> 
> Thanks, yes I know where they are stored, but I'm wondering how to
> generate the (md5) filename from the row in the database.  That is,
> so I can locate a thumbmail via the f-spot database.


char *     gnome_thumbnail_path_for_uri      (const char         *uri,
					      GnomeThumbnailSize  size);

is your best friend for this. In f-spot, we only use
GNOME_THUMBNAIL_SIZE_LARGE

regards

s



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]