On Tuesday 09 April 2002 4:43 pm, Lars Gullik Bjønnes wrote: > Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > >>>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > | > | Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > >>>>>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > | > | Lars> | Lars> Hmm... please explain that so that I understand it... > | > | Lars> | Lars> -ljpeg should be used if libforms does not contain > | Lars> jpeg_abort. > | > | Lars> | No, if we do not have it we just cannot use the libforms image > | Lars> loader | and fall back on the converter-based one. > | > | Lars> Eh? What? > | > | Lars> Now you are talking nonsense... > | > | Lars> jpeg_abort is part of libjpeg... some libforms have libjpeg > | Lars> compiled in... > | > | So, if xforms does not have libjpeg linked in and we do not have > | libjpeg installed in the system, there is no need to add -ljpeg > | anyway, right? > | > | I mean that we probably need two tests. > > I am not quite sure that will work... > > Is the graphics machinery able to use the self-made conversion for > jpeg's and the xforms one for gif's? f.ex.
Sure. Just add #ifdef USE_JPEG flimage_enable_jpeg(); #endif to xformsGImage.C Angus