Skip to content

A Python script which you can download PNGs of the 16 personalities with.

License

Notifications You must be signed in to change notification settings

AlbertoBaena/MBTI_PNG_Downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

How to use?

You just have download it and run it on the folder in which you may download the PNGs.

How does it work?

If you read the code, you'll come across this matrix in which I gave a coordinate to each letter of the MBTI types:

0 1 2 3
0 E N F J
1 I S T P

Getting the vertical coordinates of each type, I got this binary code:

E/I N/S F/T J/P MBTI Type
0 0 0 0 ENFJ
0 0 0 1 ENFP
0 0 1 0 ENTJ
0 0 1 1 ENTP
0 1 0 0 ESFJ
0 1 0 1 ESFP
0 1 1 0 ESTJ
0 1 1 1 ESTP
1 0 0 0 INFJ
1 0 0 1 INFP
1 0 1 0 INTJ
1 0 1 1 INTP
1 1 0 0 ISFJ
1 1 0 1 ISFP
1 1 1 0 ISTJ
1 1 1 1 ISTP

In each column, 0 means the first letter and 1 the second one.

Iterations

The code will iterate 16 times, one for each MBTI type. Inside each iteration there will be another 4 iterations, one for each letter. To get each type, I used the binary numbers associated in order to get the coordinates on the matrix.

Getting the PNGs

If you go to https://www.16personalities.com/images/types/[type].png, you'll get a PNG of that type. Thus, I just get the letters and put them in the URL.

About

A Python script which you can download PNGs of the 16 personalities with.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages