public static interface Summary.ImageOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
int |
getColorspace()
Valid colorspace values are
1 - grayscale
2 - grayscale + alpha
3 - RGB
4 - RGBA
5 - DIGITAL_YUV
6 - BGRA
|
com.google.protobuf.ByteString |
getEncodedImageString()
Image data in encoded format.
|
int |
getHeight()
Dimensions of the image.
|
int |
getWidth()
int32 width = 2; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
int getHeight()
Dimensions of the image.
int32 height = 1;
int getWidth()
int32 width = 2;
int getColorspace()
Valid colorspace values are 1 - grayscale 2 - grayscale + alpha 3 - RGB 4 - RGBA 5 - DIGITAL_YUV 6 - BGRA
int32 colorspace = 3;
com.google.protobuf.ByteString getEncodedImageString()
Image data in encoded format. All image formats supported by image_codec::CoderUtil can be stored here.
bytes encoded_image_string = 4;
Copyright © 2015–2017. All rights reserved.