thumbnails: images vs picture

Aaron J. Seigo aseigo at
Sat Oct 19 02:15:46 BST 2002

Hash: SHA1


bug # notes what several others have observed: why is there both an image and 
a picture preview option? looking at the code, one does svg and the other one 
is more general. from the perspective of the user this doesn't make much 
sense at all. attached is a patch that merges the two thumbnail generators 
into one. 

a slightly different approach than that taken in the patch is to try and 
figure out the mimetype of the file with a call to KMimeType if the approach 
the patch takes is deemed too processor intensive and only run the qpicture 
load if it is an image/svg+xml ... i do wonder why the mimetype info isn't 
passed in to the ThumbCreator since it is known, though.. oh well =)

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

"Everything should be made as simple as possible, but not simpler"
    - Albert Einstein
Version: GnuPG v1.0.7 (GNU/Linux)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: thumbnail.diff
Type: text/x-diff
Size: 3330 bytes
Desc: not available
URL: <>

More information about the kde-core-devel mailing list