Re: [Tracker] [PATCH] tracker needs imagemagick
- From: "Edward Duffy" <eduffy gmail com>
- To: "Saleem Abdulrasool" <compnerd gentoo org>
- Cc: Erlend Davidson <E R M Davidson sms ed ac uk>, tracker-list gnome org
- Subject: Re: [Tracker] [PATCH] tracker needs imagemagick
- Date: Wed, 10 Jan 2007 20:54:15 -0500
I'm working on getting tracker to use the .desktop file format defined
by the XFCE project (suggested by Erland). It's just about done, and
I'll include the imagemagick version of the pdf thumbnailer in that.
Thanks, I wasn't aware imagemagick handled pdf, although I can't say
I'm surprised.
On 1/10/07, Saleem Abdulrasool <compnerd gentoo org> wrote:
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]