.NET corrupted raster image detecting utility