The original Portrait formatter is somewhat inconvenient to use so I made this.
run this in a folder to create a nice and clean event that loads all portraits in the folder.
The code will detect mouth/eye position for you.
requires definitions of FileName+Mug
e.g. Eirika.png => #define EirikaMug something
Standalone Code:
also part of pyEA,
basically pyEA.portrait.portrait_to_dmp(file)
Requires numpy, PIL and optionally fastgbalz77
if someone wants to make a windows binary or an EA tool out of this, please do.
I also tried installing fastgbalz77 and compiling your code into an .exe for use in a buildfile. Not really sure if I compiled it including the fastgbalz77 or not, as I have no idea what I’m really doing lol. I was wondering if it can be ran from a separate folder. That way, it could be in EventAssembler/Tools instead of with the graphics themselves. It might also be nice to have it send data into a “dmp” folder for the sake of organization.