* Dekel Tsur <[EMAIL PROTECTED]> [010723 19:06]:
> On Mon, Jul 23, 2001 at 09:55:23AM -0400, Baruch Even wrote:
> > The reason for not doing it right now is to support those users who cannot
> > install a good supporting library. The simplest route could be to require
> > everyone to install gdk-pixbuf (and thus gdk and glib) and have the image
> > library do it all for us, resizing, rotationg, dithering and all in the
> > background.
>
> What about using libmagick ?
That too, but I remember an e-mail from someone who doesn't have
ImageMagick installed and so libmagick is not a standard lib.
I would be very happy if it's possible to add another dependency to LyX
and solve this mess by having a good standard requirement, but the
general tendency is against this.
> > > 3) The image conversions should be done in thread, so it won't affect the
> > > time for opening a document.
> >
> > I want to do it this way, but it is not so trivial, the execution code in
> > support doesnt work asynchronously, and I'm not sure if Converter can be
> > used in a thread.
>
> The converter data structure can change by the preferences dialog.
> However, you don't really need to use the converter code for image conversion.
> Most image conversions are just one call to convert...
I cannot depend on ImageMagick, I need the configurability of Converter.
I can however create a limited version of that that can do a single
conversion only. That will pretty much go into ImageTransformer but then
the user will need to configure that too, but I guess usually users dont
need image formats in their Converter configs it will be just another
keyword.
--
Baruch Even
http://baruch.ev-en.org/