Banner Design Submissions (Christmas Competition 2018)

Status
Not open for further replies.

Weasel

👄 I'd intercept me
Nov 25, 2011
4,135
2,461
giphy.gif


THIS THREAD IS FOR SUBMISSIONS ONLY!

So please, do not comment on submissions or anything of that nature.

What's this competition about?
As this is a new competition, we'll briefly explain what this is about. Probably, everyone knows about the Community Awards we throw every year. The winners receive a banner with their name and category they won on it. We want you guys to create a banner for the winners.

A few general rules:
  • Keep the banner size in mind. Try to keep it about the same as previous years.
  • The banner at least needs to have the following on it:
    • The text "DevBest.com"
    • The username of the winner
    • The category
    • The text "2018 Community Awards"
  • Please embed the image below once you have finished to enter.

If you see a submission that suits your fancy, give it a like; the post with the most likes will win. If you have any questions about this competition, please send me a private message.
 
  • Like
Reactions: Joe

griimnak

You're a slave to the money then you die
Jul 20, 2013
957
800
I'm not much of a graphics person but here's my script, maybe somone could improve:



db-banner-script
A python script for generating community award banners for devbest.com







Variables to config in script.py
Python:
# Fill these values
USER = "Griimnak"
AWARD = "Friendliest User"

[CODE=Python]
# These default values should be okay.
AWARD_YEAR_TEXT = "2018 Community Awards"
DEVBEST_TEXT = "DevBest.com"

USER_X_POS = 50
USER_Y_POS = 15

AWARD_X_POS = 50
AWARD_Y_POS = 31

AWARD_YEAR_X_POS = 350
AWARD_YEAR_Y_POS = 15

DEVBEST_TEXT_X_POS = 419
DEVBEST_TEXT_Y_POS = 31

# Assets
MEDAL_IMAGE = "assets/medal.png"
BG_IMAGE = "assets/bg2.png"

STANDARD_TTF = "assets/Roboto-Regular.ttf"
BOLD_TTF = "assets/Roboto-Bold.ttf"

Usage:
Bash:
$ pip install Pillow
Bash:
$ python script.py


Edit:
We could handle users in bulk using one more script before the main one if needed
Python:
data = {}
# example {user: "griimnak", award: "Most friendliest"}

for user, award in data.listitems():
    os.exec("python srcipt.py -n %s -a %s" % user, award)

Edit:
(Script updated)






Variables to config in script.py
Python:
# Fill these values
CONFIG["USER"] = "Griimnak"
CONFIG["AWARD"] = "Friendliest User"

CONFIG["OPEN_WHEN_COMPLETE"] = True
# Should I open the image when done? True or False

# These default values should be okay.
CONFIG["AWARD_YEAR_TEXT"] = "2018 Community Awards"
CONFIG["DEVBEST_TEXT"] = "DevBest.com"

CONFIG["USER_X_POS"] = 50
CONFIG["USER_Y_POS"] = 15

CONFIG["AWARD_X_POS"] = 50
CONFIG["AWARD_Y_POS"] = 31

CONFIG["AWARD_YEAR_X_POS"] = 350
CONFIG["AWARD_YEAR_Y_POS"] = 15

CONFIG["DEVBEST_TEXT_X_POS"] = 418
CONFIG["DEVBEST_TEXT_Y_POS"] = 31

CONFIG["BORDER"] = True
CONFIG["BORDER_OUTER_COLOR"] = "black"
CONFIG["BORDER_INNER_COLOR"] = "white"

# Assets
CONFIG["MEDAL_IMAGE"] = "assets/medal2.png"
CONFIG["BG_IMAGE"] = "assets/bg.png"

CONFIG["STANDARD_TTF"] = "assets/Roboto-Regular.ttf"
CONFIG["BOLD_TTF"] = "assets/Roboto-Bold.ttf"
 
Last edited:
Status
Not open for further replies.

Users who are viewing this thread

Top