ImageMetadata Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. models. ImageMetadata
- com.
public class ImageMetadata
Image metadata.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
format()
Get the format value. |
int |
height()
Get the height value. |
int |
width()
Get the width value. |
Image |
withFormat(String format)
Set the format value. |
Image |
withHeight(int height)
Set the height value. |
Image |
withWidth(int width)
Set the width value. |
Method Details
format
public String format()
Get the format value.
Returns:
the format value
height
public int height()
Get the height value.
Returns:
the height value
width
public int width()
Get the width value.
Returns:
the width value
withFormat
public ImageMetadata withFormat(String format)
Set the format value.
Parameters:
format
- the format value to set
Returns:
the ImageMetadata object itself.
withHeight
public ImageMetadata withHeight(int height)
Set the height value.
Parameters:
height
- the height value to set
Returns:
the ImageMetadata object itself.
withWidth
public ImageMetadata withWidth(int width)
Set the width value.
Parameters:
width
- the width value to set
Returns:
the ImageMetadata object itself.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
Azure SDK for Java