View Single Post
  #5  
Old August 15th 03, 06:53 AM
dennis
external usenet poster
 
Posts: n/a
Default .jpg conversion

How the headers handled when converting jpg to fits?

I have converted fits to jpg in unix for a presentation, but i was unaware
of converting back. if i convert that jpg file that i converted from fits,
will the header info be there?

Dennis J. Lamenti

"Chris L Peterson" wrote in message
...
On 02 Aug 2003 21:49:36 GMT, (JANEATHOME101162)

wrote:

you cannot convert from jpeg to fits...


Sure you can. Any program that can read JPEG and write FITS will do this,

and
that's a lot of programs. JPEG files are often color, and there is no

standard
way of encoding color images in FITS, so you may end up with a color FITS

file
that is only read correctly by some programs. But normally it is just an

issue
of the order of the three arrays, and you can split and reorder them.
Alternatively, you can split the JPEG file into separate color channels

and
export a separate FITS for each.

_________________________________________________

Chris L Peterson
Cloudbait Observatory
http://www.cloudbait.com