Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class ImageOutputOptions.
The image output format for generated images.
Generated from protobuf message google.cloud.aiplatform.v1.ImageConfig.ImageOutputOptions
Namespace
Google \ Cloud \ AIPlatform \ V1 \ ImageConfigMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ mime_type |
string
Optional. The image format that the output should be saved as. |
↳ compression_quality |
int
Optional. The compression quality of the output image. |
getMimeType
Optional. The image format that the output should be saved as.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasMimeType
clearMimeType
setMimeType
Optional. The image format that the output should be saved as.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCompressionQuality
Optional. The compression quality of the output image.
| Returns | |
|---|---|
| Type | Description |
int |
|
hasCompressionQuality
clearCompressionQuality
setCompressionQuality
Optional. The compression quality of the output image.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|