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

List:       kde-devel
Subject:    Re: Thumbnail Preview question / help
From:       Kris Moore <kris () pcbsd ! com>
Date:       2008-02-22 14:00:02
Message-ID: 47BED562.1090701 () pcbsd ! com
[Download RAW message or body]


Aaron,

Thanks for the info! One of our other developers has just finished on 
this, he made a preview plugin, and it works great! He's working to see 
if we can get a flag to bypass the 100MB preview limit for our plugin 
though, because some of our packages are rather large, but the png image 
is still only 2k or so at the beginning of the file :)

-- 

Kris Moore
PC-BSD Software
http://www.pcbsd.com


Aaron J. Seigo wrote:
> 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
> 
> 
> 
> ------------------------------------------------------------------------
> 
> !DSPAM:1,47be38f1588511418656370!
 
>> 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