On Thu, 11 Jan 2007, Erlend Davidson wrote:
Erlend Davidson wrote:
Actually, I noticed that evince-thumbnailer is quite slow
compared to
ImageMagick's 'convert'. You can just use:
$ convert "pdf:inputfile.pdf[0]" -scale 128x128 "png:outfile.png"
and it's much quicker (plus it removes the dependency on gnome -
you
already have imagemagick). Convert also generates much nicer
looking
image. The [0] is just to make sure it only converts the first
page,
and not the whole document.
I agree that in order to keep tracker desktop-neutral, it should use
convert, and in that spirit, I have attached a patch to use
convert. It
does seem that convert also produces a nicer image.
However, I was unable to reproduce the improvement in time, infact,
convert took slightly longer, though I dont think its enough to
justify
not trying to use convert instead.
Saleem Abdulrasool
compnerd (at) gentoo (dot) org
_______________________________________________
tracker-list mailing list
tracker-list gnome org
http://mail.gnome.org/mailman/listinfo/tracker-list