Granite.Widgets.Avatar.Avatar.from_file – granite Reference Manual
Avatar.from_file
Description:
public
Avatar.from_file
(
string
filepath,
int
pixel_size)
Creates a new Avatar from the specified filepath and icon size
Parameters:
filepath
image to be used
pixel_size
to scale the image
2022 vala-language.org