ImageQuery
Image query
Operations
GetMimeType
Get the image mime type
method : public : GetMimeType() ~ String
Return
Type | Description |
---|---|
String | image mime type |
GetQuery
Get the text query
method : public : GetQuery() ~ String
Return
Type | Description |
---|---|
String | text query |
New
Constructor
New(query:String, image_url:Url)
Parameters
Name | Type | Description |
---|---|---|
query | String | text query |
image_url | Url | URL to image |
New
Constructor
New(query:String, image:Byte[], mime_type:ImageQuery->MimeType)
Parameters
Name | Type | Description |
---|---|---|
query | String | text query |
image | Byte | binary image |
mime_type | ImageQuery->MimeType | imag MIME type |
ToString
String representation of the object
method : public : ToString() ~ String
Return
Type | Description |
---|---|
String | string representation |