/// <summary> /// Frees pinned resources and disposes base bitmap. /// </summary> public void Dispose() { BitsHandle.Free(); BaseBitmap.Dispose(); }