Search

 
 Join the Community, Create an EVE-ONLINE account or log in.

open All Channels
sepopen EVE Technology Lab
blankseplocked Python EVE Player Corp Logo Generator
 
This thread is older than 90 days and has been locked due to inactivity.

New Topic   
 
Author Topic

Entity
X-Factor Industries
Synthetic Existence
Posted - 2008.12.08 00:18:00 - [1]
 

Edited by: Entity on 20/12/2008 14:20:37
I've made a player corporation logo generator for python.

You can find the module here:
Python evelogo module
(Note: it requires Python Imaging Library)

The module requires preprocessed corp logo layer images, which you can find here:
Corp Logo Pack (zip archive, 9MB)
You can place the corplogos folder anywhere you want. If you place it in your project's work folder, it will work without having to set the resourcePath in your code (see below).

The module is compatible with my eveapi module, though can be used without it.
If python isn't you cup of tea, it should be easy to port to your language and image toolkit of choice as it's a pretty simple process to render the logos.
If you are looking for a Ruby version, I recommend getting Ix Forres' version here:
Ruby logo generator.

Example usage:
import eveapi
import evelogo

evelogo.resourcePath = "wherever/you/put/corplogos/"

YOUR_USERID = 123
YOUR_APIKEY = "bla bla bla"

# Generate logos directly from parameters:
logo = evelogo.CorporationLogo([[539, 520, 461], [672, 675, 672]])
logo.save("xfi1.png")

# Generate large opaque logo image with blue background:
logo = evelogo.CorporationLogo([[539, 520, 461], [672, 675, 672]], size=96, transparent=False, bgcolor=(33,133,233))
logo.save("xfi2.png")

# Or use the eveapi module!
api = eveapi.EVEAPIConnection()
corpsheet = api.corp.CorporationSheet(userID=YOUR_USERID, apiKey=YOUR_APIKEY, corporationID=219220371)
logo = evelogo.CorporationLogo(corpsheet.logo)
logo.save("xfi3.png")


This produces images looking like this:
Please visit your user settings to re-enable images. (which just so happens to be my corp logo! Cool)

Hope it's useful to someone :)


#-----------------------------------------------------------------------------
# Version: 1.0.1 (08 December 2008)
# - Fixed logos breaking that have only 1 or 2 shapes defined (Arkady)




Thanks to:
Chribba, for EVE-Files.
CCP, for allowing the use of their logo images.


Lumy
Minmatar
eXceed Inc.
Posted - 2008.12.08 00:58:00 - [2]
 

Where did you get image pack originally from? Eve-files hates me :(

Entity
X-Factor Industries
Synthetic Existence
Posted - 2008.12.08 01:09:00 - [3]
 

Edited by: Entity on 08/12/2008 01:11:26
Originally by: Lumy
Where did you get image pack originally from? Eve-files hates me :(


My harddrive.

If you cannot get it off eve-files, you can get the ruby version I linked to, that contains the same set of images.

Edit: I also uploaded a newer version of the corp logo pack because it was missing a required folder. If you downloaded it before this post's date, you'll have to redownload it. Sorry for that :)

Arkady Sadik
Minmatar
Gradient
Electus Matari
Posted - 2008.12.08 01:19:00 - [4]
 

Very nice, thanks a lot! :-)

Entity
X-Factor Industries
Synthetic Existence
Posted - 2008.12.08 01:55:00 - [5]
 

Fixed logos with only 1 or 2 images from breaking things (I didn't think it'd be possible to have that situation :)
See top post.

Lumy
Minmatar
eXceed Inc.
Posted - 2008.12.08 16:53:00 - [6]
 

heh, heh

Dragonaire
Caldari
Corax.
New Eden Retail Federation
Posted - 2008.12.08 17:33:00 - [7]
 

Thanks for the images know a lot of people have been asking for them here on the forums before and no one ever seemed to post a set for others to download. I know they were in the resources of client somewhere but just never got into it to find them.

Carlise Aragon
The Eve Killboard Corporation
Posted - 2008.12.08 20:43:00 - [8]
 

is there a online and publically usable version of this somewhere that people can re-create the corp logos they have in game and save them so that they can be used on killboards?

Dragonaire
Caldari
Corax.
New Eden Retail Federation
Posted - 2008.12.08 21:00:00 - [9]
 

Don't think anyone has setup a server for people to use but might look at this thread http://myeve.eve-online.com/ingameboard.asp?a=topic&threadID=943168 for a PHP version that you could easily do that with or even just run from a command line and save the image for your corporation.

Be nice if someone would make a mod or something for the killboards that would grab the info from CorporationSheet and forward information on to the other killboards along with other kill information they do now.

Entity
X-Factor Industries
Synthetic Existence
Posted - 2008.12.08 21:23:00 - [10]
 


Lumy
Minmatar
eXceed Inc.
Posted - 2008.12.08 21:29:00 - [11]
 

Edited by: Lumy on 08/12/2008 21:53:08
Edited by: Lumy on 08/12/2008 21:33:13
Originally by: Carlise Aragon
is there a online and publically usable version of this somewhere that people can re-create the corp logos they have in game and save them so that they can be used on killboards?

Since you asked so nicely, here you go.EVE Corporation Logo Generator - Online version

Enter valid CroporationSheet.

That's best I can offer for now.

Edit: Test first, post later. Me sucks.
Edit2: Should be working now. Note to myself: always set right path to icon directory ^^;

Dragonaire
Caldari
Corax.
New Eden Retail Federation
Posted - 2008.12.08 23:05:00 - [12]
 

Nice, Thanks Lumy for the time and your bandwidth to make it available. Very HappyVery Happy

Entity
X-Factor Industries
Synthetic Existence
Posted - 2008.12.20 14:20:00 - [13]
 

It seems there are corps out there that are using colors in their logos that are no longer available in the color picker (what happened there CCP?).

I've added the missing sets of logos for those colors to the pack. It's available at the same place.

http://dl.eve-files.com/media/corp/Entity/corplogos.zip

The new file is 9MB. if you appear to get the old 8MB one (eve-files caches stuff), try downloading it directly from here: http://go-dl3.eve-files.com/media/corp/Entity/corplogos.zip


Entity
X-Factor Industries
Synthetic Existence
Posted - 2009.02.11 17:21:00 - [14]
 

Just to avoid expiring this thread I guess I'll post something!

Also, if CCP adds medal parameters to the API I'll do a similar dump of the medal graphics.


 

This thread is older than 90 days and has been locked due to inactivity.

New Topic