Putting the 'role' back in role-playing games since 2002.
Donate to Codex
Good Old Games
  • Welcome to rpgcodex.net, a site dedicated to discussing computer based role-playing games in a free and open fashion. We're less strict than other forums, but please refer to the rules.

    "This message is awaiting moderator approval": All new users must pass through our moderation queue before they will be able to post normally. Until your account has "passed" your posts will only be visible to yourself (and moderators) until they are approved. Give us a week to get around to approving / deleting / ignoring your mundane opinion on crap before hassling us about it. Once you have passed the moderation period (think of it as a test), you will be able to post normally, just like all the other retards.

Avatar Gallery Submission Thread

Do you care about custom avatars?

  • Yes, and I want something done about it.

    Votes: 317 54.0%
  • No, just leave it the way it is.

    Votes: 270 46.0%

  • Total voters
    587

Humanophage

Arcane
Joined
Dec 20, 2005
Messages
5,441
Could something be done about avatar stretching in PC browsers? They are not the original intended size next to the posts, which leads to blurring.

QTC7W6G.jpg


left: blurred next to posts; right: clear in the profile/avatar selection.
 
Last edited:

The Red Knight

Erudite
Joined
Apr 18, 2017
Messages
485
Likely xenforo not liking the file not having either dimension be 96 pixels. Adding transparent padding (lazy) or redoing those avatars to make them bigger (autistic) is likely to solve the issue.
 

Ghulgothas

Arcane
Joined
Feb 22, 2020
Messages
1,610
Location
So Below
So many avatars, from so many people. This truly is the merriest place on the Codex. I've one final gift to give you all this season, unfortunately I've had to discontinue the other half the Pokemon avatars due to extenuating circumstances. But I've an alternative, a set of avatars that're bright and full of color, a set of avatars rendered with painstaking love & care, a set of avatars as unique and multifaceted as the community they've been made for.

Animal Crossing
(They're a hash taken from New Horizons and Pocket Camp, but there's more from NH)

1.png
2.png
3.png
4.png
5.png
6.png
7.png
8.png
9.png
10.png
11.png
12.png
13.png

14.png
15.png
16.png
17.png
18.png
19.png
20.png
21.png
22.png
23.png
24.png
25.png
26.png

27.png
28.png
29.png
30.png

And many, many more.
 

Infinitron

I post news
Patron
Staff Member
Joined
Jan 28, 2011
Messages
99,636
Codex Year of the Donut Serpent in the Staglands Dead State Divinity: Original Sin Project: Eternity Torment: Tides of Numenera Wasteland 2 Shadorwun: Hong Kong Divinity: Original Sin 2 A Beautifully Desolate Campaign Pillars of Eternity 2: Deadfire Pathfinder: Kingmaker Pathfinder: Wrath I'm very into cock and ball torture I helped put crap in Monomyth
The latest in avatar gallery innovation! Got a game with non-square shaped portrait images? Instead of manually cropping them, try applying ~deep learning~ to automatically locate the faces and extract them. Here's the rather simple Python source code, which makes use of this library: https://github.com/ageitgey/face_recognition

Code:
import face_recognition
import os
import PIL

PORTRAIT_EXT = ".png"
OUTPUT_DIR = "Output"

def expand_portrait(startY, endY, expand, maxHeight):
    offset = min(startY, int(expand/2))
    startY -= offset
    expand -= offset

    offset = min(maxHeight-endY, expand)
    endY += offset
    expand -= offset

    startY -= min(startY, expand)

    return startY, endY

if not os.path.exists(OUTPUT_DIR):
    os.mkdir(OUTPUT_DIR)

for portrait_filename in [filename for filename in os.listdir() if filename.endswith(PORTRAIT_EXT)]:
    portrait = face_recognition.load_image_file(portrait_filename)
    locations = face_recognition.face_locations(portrait)
    if not locations:
        locations = face_recognition.face_locations(portrait, number_of_times_to_upsample=2, model="cnn")

    for index, location in enumerate(locations):
        startY, endX, endY, startX = location
        startY, endY = expand_portrait(startY, endY, portrait.shape[1]-(endY-startY), portrait.shape[0])

        result = portrait[startY:endY, :]

        result_filename = portrait_filename if index == 0 else os.path.splitext(portrait_filename)[0] + str(index) + PORTRAIT_EXT
        PIL.Image.fromarray(result).save(OUTPUT_DIR + os.sep + result_filename)

And here it is applied to Expeditions: Conquistador, which had a crappy and incomplete JPG avatar gallery:

8jo8ufz.png
 
Last edited:

Infinitron

I post news
Patron
Staff Member
Joined
Jan 28, 2011
Messages
99,636
Codex Year of the Donut Serpent in the Staglands Dead State Divinity: Original Sin Project: Eternity Torment: Tides of Numenera Wasteland 2 Shadorwun: Hong Kong Divinity: Original Sin 2 A Beautifully Desolate Campaign Pillars of Eternity 2: Deadfire Pathfinder: Kingmaker Pathfinder: Wrath I'm very into cock and ball torture I helped put crap in Monomyth
Since you reminded me I own the game now, I uploaded a more complete Stygian: Reign of the Old Ones avatar gallery.
 

As an Amazon Associate, rpgcodex.net earns from qualifying purchases.
Back
Top Bottom