ImageMetadata Class
- java.
lang. Object - com.
azure. ai. vision. imageanalysis. models. ImageMetadata
- com.
Implements
public final class ImageMetadata
implements JsonSerializable<ImageMetadata>
Metadata associated with the analyzed image.
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Image |
fromJson(JsonReader jsonReader)
Reads an instance of Image |
int |
getHeight()
Get the height property: The height of the image in pixels. |
int |
getWidth()
Get the width property: The width of the image in pixels. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static ImageMetadata fromJson(JsonReader jsonReader)
Reads an instance of ImageMetadata from the JsonReader.
Parameters:
Returns:
Throws:
getHeight
public int getHeight()
Get the height property: The height of the image in pixels.
Returns:
getWidth
public int getWidth()
Get the width property: The width of the image in pixels.
Returns:
toJson
Applies to
Azure SDK for Java