thumbnails: images vs picture
Aaron J. Seigo
aseigo at olympusproject.org
Sat Oct 19 02:15:46 BST 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hello...
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9sLJC1rcusafx20MRAm3+AKCuONAEYJo+pTJ4ZUDcqXPK+Hb+FwCgsGUc
y/IfHtK4PXPCWNhxsf9SA4w=
=QCP0
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: thumbnail.diff
Type: text/x-diff
Size: 3330 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20021018/00d38215/attachment.diff>
More information about the kde-core-devel
mailing list