Thanks for the link -- I'll take a look at it.
-= miles =-
-----Original Message-----
From: Kevin Krammer [mailto:kevin.krammer gmx.at]
Sent: Wed 10/11/2006 1:13 PM
To: kde-linux kde.org
Subject: Re: [kde-linux] HTML previews
On Tuesday 10 October 2006 19:44, albert.bradley contractor.thomson.com wrote:
> Hi all,
>
> I'm trying to generate small previews of web pages.
e.g. right now, I'm
> trying to use khtml2png to grab an 800x800 image and
then using convert to
> shrink them to 200x200.
>
> However, khtml2png has been problematic, and the fact
that it pops up a
> window to do the bitblt from seems cumbersome, given
that the KDE file
> manager is capable of generating HTML previews
seemingly without effort.
>
> (in particular, khtml2png may be having problems with
XDMCP, which is how
> I'm required to access the particular server...)
Hmm, maybe the khtml2png author can just keep the window
hidden, I don't see
any technical reason to actually show it.
> Is there some way to use the preview engine that KDE
does as a stand-alone?
> i.e. some command line I could type to tell it to just
generate a certain
> sized preview from a URL?
Good question.
I guess it should be possible to create a program that
creates preview jobs or
directly loads the preview plugin, however I am afraid no
such program exists
yet.
Hmm, after looking through some KDE sources I found a quite
primitive test
program for KDE's preview system:
http://tinyurl.com/ebrml
hth,
Kevin
--
Kevin Krammer, KDE developer
KDE user support, developer mentoring
___________________________________________________
This message is from the kde-linux mailing list.
Account management: http
s://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.h
tml.
|