WriteToFitsFile
CameraAPI.WriteToFitsFile( handle, bytes, bytes_to_skip, first_pixel );
int handle The handle to a previously created and open FITS file. The return value from CreateFitsFile() .
int bytes The number of bytes to write to the file.
int bytes_to_skip The number of bytes to skip within the image buffer before reading data for writing to the file. Typically set to 0.
int first_pixel The first pixel to write in the FITS file. This is only used if you need to skip over existing pixels in the file before starting to write image data, such as for writing a sub-image into an existing image. Typically set to 0.
None
Writes data from the primary image buffer to a FITS file that was previously opened with CreateFitsFile(). Throws java.lang.Exception if an error occurs. All exceptions can be caught using a try/catch block.