I misunderstood your question. To use custom icons as portraits, you need to convert them to a dds, add them to a textureatlas and use that as the "Icon" property on the character's (root) template.