Re: [ROOT] Picture/Pixmap/Bitmap from data

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Thu Nov 08 2001 - 12:14:56 MET


The TImage class (abstract) interfaces to libAfterImage via
TASImage. I am working with the author of the libAfterImage
(http://afterstep.sourceforge.net/afterimage/) to make the library
more portable (works now on Linux, IA-64, HP-UX, True64, to be tested
on SGI, Sun). Before settling on libAfterImage I compared it with
imlib and xv. libAfterImage was much better in scaling images
than the others and faster too (on MXX capable pentiums it uses MXX
instructions). It needs the standard image access libs like libpng,
libtiff, etc to be able to read other formats.
Interfacing to different input/output formats should not be too
difficult. Via the abstract TImage interface we can later interface
to the next best image lib.

I expect to release in CVS sometime next week.


Cheers, Fons.




Christian Holm Christensen wrote:
> 
> Hi Fons, et al,
> 
> On Wed, 07 Nov 2001 18:34:32 +0100
> Fons Rademakers <Fons.Rademakers@cern.ch> wrote
> concerning "Re: [ROOT] Picture/Pixmap/Bitmap from data":
> > We are working on an interface to an image processing library.
> 
> Sounds like a brilliant idea.  Are you rellying on third-party
> software like ImageMagick or similar? (with obvious references to the
> not-so-old GUI discussion on this list.)
> 
> > ... to print the images in the pads in PS or to save them to png,
> > tiff, xpm, gif, etc.
> 
> What about saving in Metapost, LaTeX, Fig, ladida formats?  I think
> the Fig thing would be very intresting, since you'll be able to open
> the file in XFig (my drawing tool of choice) and do various fun
> stuff.  Metapost is intresting since it produces high-quality output -
> much more so then most other programs can do, and then it integrates
> well with TeX.  (How many articles are written in Word these days - I
> think LaTeX is still the typesetting system of choice for most
> people - no wonder).
> 
> Ok, so it may be a bit more tricky, and probably not something you can
> get 3rd-party libraries for easily, but I thought it worth a mention.
> 
> Yours,
> 
> Christian Holm Christensen -------------------------------------------
> Address: Sankt Hansgade 23, 1. th.           Phone:  (+45) 35 35 96 91
>          DK-2200 Copenhagen N                Cell:   (+45) 28 82 16 23
>          Denmark                             Office: (+45) 353  25 305
> Email:   cholm@nbi.dk                        Web:    www.nbi.dk/~cholm

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:06 MET