Wouldn't that be just wonderful.... :-)

"Lars Gullik Bj�nnes" wrote:
 [...]

> This use of gs is something we (I) really want to change. I want us to have
> a "subprocess" that converts the image files into the wanted format.
> And an InsetFig that asks this "subprocess" for an image.
>
> Preferrably I'd like to have the convertees cached on disk and not in
> memory. (ok, sometimes both would be needed.)

Hmmm, under memory restrictions that would be necessary I guess but if the interfaces
and classes are designed right this wouldn't be a real problem in either case.

> As part of this change I'd like to make it possible to use all kind of
> graphics format with LyX without user intervention.

Yes!!!

> The idea is that the InsetFig will be very simple, it should just ask
> the GraphicsCache for a image name, the format that it wants it in,
> the size aspect, rotatation etc. (as of graphicx.sty) and get an image
> object returned from the GraphicsCache. The means he GraphicsCache
> uses to provide the correct format does not matter for InsetFig.
>
> InsetFig("foo.png") will f.ex. make GraphicsCache use pngtopnm | \
> ppmquant | ppmtoxpm
> to make the image to view on screen, and pnmtopnm | pnmtops to create
> the image used by latex.
> the program "identify" could be used to get the bounding box/image
> size from the graphics file.
>
> OK, Who wants to develop this?

Ohh wouldnt that be nice...
If I had enough time but I'll try to help Allan with GUI independence right now. Maybe
after that.
For now there wont be any figures in LyX on NT :-(

>
>         Lgb

Reply via email to