Hi Jan,
I found that the existing CCD drivers fill out the remainder of the file
using the following code:
if((nbytes = nbytes % FITS_RECORD_SIZE)){
while(nbytes++ < FITS_RECORD_SIZE) putc(0, fp->fp);
(in fli_ccd.c), I just need to add this to KStars FITSViewer.
Thanks.
Regards,
Jasem