Example #1
0
        public static int LoadImage(string filepath, out FitsHeader header)
        {
            int retval;

            header = null;

            try
            {
                Mgr.Status = 0;

                if (Mgr.OpenFile(filepath))
                {
                    header = Mgr.Header;
                }
            }
            finally
            {
                retval = Mgr.Status;

                Mgr.CloseFile();
            }

            return(retval);
        }