AstroKam uses the excellent CHDKPTPRemote.NET for camera operations and this is an internal error from it which could occur in 2 places
private Bitmap GetLiveImage(bool set_active_area, ref Rectangle active_area, Bitmap old_img)
{
if (old_img != null)
{
if (old_img.PixelFormat != System.Drawing.Imaging.PixelFormat.Format24bppRgb)
{
throw new Exception("cannot reuse Bitmap: PixelFormat is not Format24bppRgb");
}
if (old_img.Width != vp_max_width || old_img.Height != vp_max_height)
{
throw new Exception("cannot reuse Bitmap; dimensions are incorrect");
}
}
and
public Bitmap GetLiveOverlay(Bitmap old_img = null)
{
if (old_img != null)
{
if (old_img.PixelFormat != System.Drawing.Imaging.PixelFormat.Format32bppArgb)
{
throw new Exception("cannot reuse Bitmap: PixelFormat is not Format32bppArgb");
}
if (old_img.Width != bm_max_width || old_img.Height != bm_max_height)
{
throw new Exception("cannot reuse Bitmap; dimensions are incorrect");
}
}
I will PM the coders and ask why this error would occur.
Dithering would be easy to add. How many pixels would you want to move between shots. Out of interest, what is the angular size of each pixel for your setup compared with the pointing and tracking accuracy of your mount?