| Cv2ImWrite Method (String, IEnumerableMat, Int32) |
Saves an image to a specified file.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static bool ImWrite(
string fileName,
IEnumerable<Mat> img,
int[] prms = null
)
Public Shared Function ImWrite (
fileName As String,
img As IEnumerable(Of Mat),
Optional prms As Integer() = Nothing
) As Boolean
public:
static bool ImWrite(
String^ fileName,
IEnumerable<Mat^>^ img,
array<int>^ prms = nullptr
)
static member ImWrite :
fileName : string *
img : IEnumerable<Mat> *
?prms : int[]
(* Defaults:
let _prms = defaultArg prms null
*)
-> bool
Parameters
- fileName
- Type: SystemString
Name of the file. - img
- Type: System.Collections.GenericIEnumerableMat
Image to be saved. - prms (Optional)
- Type: SystemInt32
Format-specific save parameters encoded as pairs
Return Value
Type:
Boolean[Missing <returns> documentation for "M:OpenCvSharp.Cv2.ImWrite(System.String,System.Collections.Generic.IEnumerable{OpenCvSharp.Mat},System.Int32[])"]
See Also