How to use the ThumbCreator-class of konqueror in the shell

Philip Rodrigues philip.rodrigues at chch.ox.ac.uk
Wed Jun 22 23:32:15 BST 2005


Stefan Zeller wrote:

> Hello verybody,
> 
> Does anyone know how to use the functions of the ThumbCreator class of
> Konqueror in the shell ?  or how to tune them as it is possible to
> generate thumbnails of any files as a cronjob and to place them in any
> folder and in any width or height.

I'm not quite sure what you mean, but if you just want to create thumbnails
from the images in a directory, 'convert' from the ImageMagick package will
do this nicely, with eg:
for i in *.jpg; do
        convert -resize 320x200 $i $(basename $i .jpg)_thumb.jpg
done

If you need the konqueror class specifically, your best bet is to look at
dcop. Take a look at the user guide (development version) at docs.kde.org.

Regards,
Philip
-- 
KDE Documentation Team: http://i18n.kde.org/doc
KDE Documentation Online: http://docs.kde.org

___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list