Class ImageInput
Binary image input supplied to an image generation service.
public sealed class ImageInput
- Inheritance
-
ImageInput
- Inherited Members
Constructors
ImageInput(byte[], string, string)
public ImageInput(byte[] data, string mediaType, string fileName = "image")
Parameters
Properties
Data
Raw image bytes.
public byte[] Data { get; }
Property Value
- byte[]
FileName
File name supplied to providers that accept multipart uploads.
public string FileName { get; }
Property Value
MediaType
MIME type of the image, such as image/png or image/jpeg.
public string MediaType { get; }