Hi,
I looked at the astro_root code (again :).
All the FITS format reading/writing "magick" is done with CFITSIO library:
http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html
I will add (after the coming pro-release) support of the FITS image format by using the ROOT plug-in mechanism.
Just few words for Andy (against his ROOT "Monolithic design" criticism) about ROOT "plug-in mechanism" (http://root.cern.ch/root/htmldoc//TPluginManager.html).
It's based on the power of CINT and allows to "plug" external modules at runtime. The activation of plug-in module is done via modification of a single line in ROOT resource file.
There are many examples of its usage inside ROOT:
Concerning reading/writing images in different file formats, look at http://root.cern.ch/root/htmldoc/TImagePlugin.html, which is used to plug "image driver" for reading/writing file in "some image format".
It's used, for example, to display PostScript and PDF files in ROOT TCanvas.
Regards. Valeriy
-----Original Message-----
From: Leif Hendrik Wilden [mailto:wilden_at_slac.stanford.edu]
Sent: Mon 7/3/2006 8:04 PM
To: Valeri Onuchin
Cc: andy.buckley_at_durham.ac.uk; roottalk (Mailing list discussing all aspects of the ROOT system)
Subject: Re: [ROOT] Re: Wikipedia criticism about root
Hi,
Valeri Onuchin wrote:
> Do we really urgently need to support FITS format?
> as far as I know FITS format is an image format used by astronomical community
> for data interchange and archival storage. It is not used in HEP (correct me).
> If ROOT users request for FITS format support we will provide it asap.
The LSST community is also using the FITS format as its standard image data format. Quite a few former HEP people are now working with LSST. Having native support for the fits file format in ROOT would help the adoption of ROOT in the astrophysics community and in LSST.
Cheers,
- Leif.
>
> Regards. Valeriy
>
>
> -----Original Message-----
> From: owner-roottalk_at_pcroot.cern.ch on behalf of Andy Buckley
> Sent: Wed 6/28/2006 8:02 PM
> To: roottalk (Mailing list discussing all aspects of the ROOT system)
> Subject: Re: [ROOT] Re: Wikipedia criticism about root
>
> Fine, Valeri wrote:
>
>>Hello Andy, >> >>Would you mind to introduce yourself?
>>Does your statement >> >> >>>Please CC me on any ROOTtalk discussion about this: I'm not a >>>subscriber. >> >>indicates that you are not aware about the current status of ROOT and >>the ROOT progress?
>>Before starting any discussion, it would be nice to know where your >>information about ROOT coming from. >>It may have spared us a lot of talking hours. >> >>Are you an active ROOT user / developer for example ?
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:59 MET