[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Thumbnail Preview question / help
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2008-02-22 2:31:06
Message-ID: 200802211931.06847.aseigo () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Tuesday 19 February 2008, Kris Moore wrote:
> The way it works, is we have a file with a binary first, then a "flag"
> and the PNG image data, then a ending flag which marks the start of
> program data. I can easily write a program to pull just the PNG data
> from the file, but where I'm running into problems is figuring out where
> to put this into KDE. Right now I will be doing this for KDE 3.5.8/9,
> but down the road I will want to put this feature into the version of
> KDE 4.x we ship as well. Is this something I could make a small library
> to do, or will some actual patches to the KDE system be required?

if it only needs to work in thumbnail mode, then no problem: create a 
KIO::ThumbCreator plugin[1].

if you want it to work in normal views, AFAIK we only use the mimetype icon. 
so you'd need to patch things to get that to work.


[1] http://api.kde.org/4.x-api/kdelibs-apidocs/kio/html/classThumbCreator.html

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Trolltech

["signature.asc" (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic