You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// , wraps the <see cref="BitmapData.Scan0"/> with an NDArray and call <see cref="Bitmap.UnlockBits"/> only when the NDArray will be collected by the <see cref="GC"/>.
75
75
/// </param>
76
76
/// <returns>An NDArray that holds the pixel data of the given bitmap</returns>
/// Converts <see cref="NDArray"/> to a <see cref="Bitmap"/>.
106
+
/// </summary>
107
+
/// <param name="nd">The <see cref="NDArray"/> to copy pixels from, <see cref="Shape"/> is ignored completely. If nd.Unsafe.Shape.IsContiguous == false then a copy is made.</param>
108
+
/// <param name="width">The height of the <see cref="Bitmap"/></param>
109
+
/// <param name="height">The width of the <see cref="Bitmap"/></param>
110
+
/// <returns>A <see cref="Bitmap"/></returns>
111
+
/// <exception cref="ArgumentException">When nd.size != width*height, which means the ndarray be turned into the given bitmap size.</exception>
0 commit comments