[fitsbits] Fits format for RGB-images

Juergen Liesmann liesmann at t-online.de
Mon Aug 28 07:39:23 EDT 2000


Hi

Which fits-format should i use for RGB-images?

I think there are two possibilities:

1. The pixel in RGB-order

SIMPLE  =                    T / Standard FITS format flag                      
BITPIX  =                   32 / Bits per pixel                                 
NAXIS   =                    3 / Number of dimensions                           
NAXIS1  =                    3 / Number of Colors                               
NAXIS2  =                  382 / Row length                                     
NAXIS3  =                  255 / Number of rows                                 

2. The planes in RGB-order

SIMPLE  =                    T / Standard FITS format flag                      
BITPIX  =                   32 / Bits per pixel                                 
NAXIS   =                    3 / Number of dimensions                           
NAXIS1  =                  382 / Row length                                     
NAXIS2  =                  255 / Number of rows                                 
NAXIS3  =                    3 / Number of Colors                               

Exist a keyword to sign this as a RGB-image?

TIA
Juergen
-- 
Juergen Liesmann
http://www.ra-dec.de
Email: liesmann at t-online.de



More information about the fitsbits mailing list