Just to tell you that I created a small tool to easily create custom portrait for you character.
Find a good illustration, go to www.notra.fr and select Pathfinder Kingmaker. Then upload your illustration and crop it as you wish. After croping all 3 sizes, you’ll have a zipfile containing your portrait ready drag and drop in the right folder (instructions are on the website). You’re good to go !
Hope it’ll help you and do not hesitate to tell me if something is buggy, I’ll try to correct it ASAP.
Have a good day !