get_image


Description:

[ Version ( deprecated = true , deprecated_since = "0.17.7" , since = "0.15.1" ) ]
public InputStream get_image (FreebaseTopicValue value, Cancellable? cancellable, uint max_width, uint max_height) throws Error

Warning: get_image is deprecated since 0.17.7.

Creates an input stream to an image object returned in a topic query.

Note:

Google Freebase has been permanently shut down.

If max_width and max_height are unspecified (i.e. set to 0), the image returned will be the smallest available.

Parameters:

this

a FreebaseService

value

a FreebaseTopicValue from a topic result

cancellable

optional Cancellable object, or null

max_width

maximum width of the image returned, or 0

max_height

maximum height of the image returned, or 0

Returns:

a InputStream opened to the image; unref with unref