I was trying to use a FITS file created by pixinsight (tried 16 and 32 bit FITS) to set up a reference frame for a target.
When I click the solve button after entering the scale, it looks like things are about to work but then get an unhandled exception and SGPro quits. This does work with a PNG file.
Here are the details:
Parameter is not valid.
at System.Drawing.Bitmap.LockBits(Rectangle rect, ImageLockMode flags, PixelFormat format, BitmapData bitmapData)
at System.Drawing.Bitmap.LockBits(Rectangle rect, ImageLockMode flags, PixelFormat format)
at al.SaveFileBmp16(Bitmap bmp, String fileName, List`1 fitsHeaders)
at SequenceGenerator.AstrometryNetPlateSolver.PlateSolve(SolverInfo si)
at SequenceGenerator.TargetSettings.a(Object A_0)
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)
Last few lines of log file:
[12/27/2014 9:28:36 PM] [DEBUG] [Main Thread] SafeParseDouble: Input string was not in a correct format.
[12/27/2014 9:28:36 PM] [DEBUG] [Main Thread] SafeParseDouble: Input string was not in a correct format.
[12/27/2014 9:28:36 PM] [DEBUG] [Main Thread] SafeParseDouble: Input string was not in a correct format.
[12/27/2014 9:28:36 PM] [DEBUG] [Main Thread] SafeParseDouble: Input string was not in a correct format.
[12/27/2014 9:28:36 PM] [DEBUG] [Main Thread] SafeParseDouble: Input string was not in a correct format.
[12/27/2014 9:28:36 PM] [DEBUG] [Main Thread] FitsFileHeaderData: Angle - 0
[12/27/2014 9:28:36 PM] [DEBUG] [Main Thread] FitsFileHeaderData: Scale - 0
[12/27/2014 9:28:36 PM] [DEBUG] [Main Thread] SafeParseDouble: Input string was not in a correct format.
[12/27/2014 9:28:36 PM] [DEBUG] [Main Thread] SafeParseDouble: Input string was not in a correct format.
[12/27/2014 9:28:47 PM] [DEBUG] [PS Reference Monitor] Plate solving reference frame…
[12/27/2014 9:28:50 PM] [DEBUG] [PS Reference Monitor] Astrometry.NET convertedAstrometry.fits path: C:\Users\Brian\AppData\Local\SequenceGenerator\Temp\convertedAstometry.fits
[12/27/2014 9:28:50 PM] [DEBUG] [PS Reference Monitor] Astrometry.NET - File is too large, resizing
[12/27/2014 9:28:50 PM] [DEBUG] [PS Reference Monitor] Astrometry.NET - Saving file