These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

In-Game Events and Gatherings

 
  • Topic is locked indefinitely.
 

I wrote a script to create a group photo of the battle

Author
Omochin
Perkone
Caldari State
#1 - 2017-04-24 18:34:00 UTC  |  Edited by: Omochin
Source code is here.

This script creates a group photo of players listed in "related" of zKillboard, written in Python 3.5.3.


pip install requests
pip install pillow
python zkillboard_related_image_generator.py https://zkillboard.com/api/related/30000186/201704172000/ --portrait_size=32

Photo is here.
The list of members is here.
This is a group photo of the battle where Vendetta was destroyed at Oijanen on April 17, 2017.

Let's make memories with friends :)


Options
--portrait_size: Size of the portrait to download. default 512(pixel)
--aspect_ratio: The aspect ratio of the generated image. default 16:9')
--select_corporations: Corporations that you want to select
--select_alliances: Alliances that you want to select
--priority_characters: Characters you want to display at the top
--ignore_characters: Characters you do not want to display
--reload_json: Always download JSON from API of zKillboard. default True


Example


python zkillboard_related_image_generator.py https://zkillboard.com/api/related/30002540/201704220000/ --aspect_ratio=16:9 --select_alliances=SHDWC:JMP-N \"--priority_characters=thearrowofapollo:Predator Elite\" --ignore_characters=Omochin --reload_json=False

Photo is here.
The list of members is here.
This group photo arranged "Shadow Cartel" and "Did he say Jump" from "related" of zKillboard.

If you can't understand something, please ask me here.
Blade Darth
Room for Improvement
Good Sax
#2 - 2017-05-16 17:13:25 UTC
Obscure, but it will make some people happy. And it's all that counts.