Generate avatars with transparent background

Generate avatars with transparent background (for .png images) or with white background (for others).