Overview

The Avtar extension allows you to create avatars for profile pictures using various APIs. You can generate avatars based on names, text, animals, or robots.

Usage

Integrate the extension into your Kodular project and use the following functions:

SetColorAvtar Block

SetColorAvtar

Description: Sets the profile picture using the Multiavatar API.

Input: Image imageComponent, String name

Output: Sets the image of the provided Image component.

SetTextAvtar Block

SetTextAvtar

Description: Sets a text-based profile picture using the UI Avatars API.

Input: Image imageComponent, String name, int size, String backgroundColor, String textColor

Output: Sets the image of the provided Image component with customizable parameters.

SetAnimalAvtar Block

SetAnimalAvtar

Description: Sets the profile picture using the Anonymous Animals API.

Input: Image imageComponent, String username

Output: Sets the image of the provided Image component. Note: This avatar may appear as a white image if the username does not have an associated animal avatar.

SetRoboAvtar Block

SetRoboAvtar

Description: Sets the profile picture using the RoboHash API.

Input: Image imageComponent, String username

Output: Sets the image of the provided Image component.

Demo Screenshots

Demo Screenshot 1 Demo Screenshot 2 Demo Screenshot 3 Demo Screenshot 4

Download

Download the Avtar extension and demos:

Download Demo APK
Block Image