NativeImageIOImageFileToJpeg Method |
https://www.emgu.com
Read the file and draw rectangles on it.
Namespace:
Emgu.Models
Assembly:
Emgu.TF.Lite.Models (in Emgu.TF.Lite.Models.dll) Version: 2.19.0.1709+574f567263f3c76bb77304b9eeb79ab6660ba101
Syntaxpublic static JpegData ImageFileToJpeg(
string fileName,
Annotation[] annotations = null
)
Public Shared Function ImageFileToJpeg (
fileName As String,
Optional annotations As Annotation() = Nothing
) As JpegData
public:
static JpegData^ ImageFileToJpeg(
String^ fileName,
array<Annotation^>^ annotations = nullptr
)
static member ImageFileToJpeg :
fileName : string *
?annotations : Annotation[]
(* Defaults:
let _annotations = defaultArg annotations null
*)
-> JpegData
Parameters
- fileName
- Type: SystemString
The name of the file. - annotations (Optional)
- Type: Emgu.ModelsAnnotation
Annotations to be add to the image. Can consist of rectangles and labels
Return Value
Type:
JpegDataThe image in Jpeg stream format
See Also