Dagonet
Rain and shine
- Joined
- Apr 21, 2025
- Messages
- 9,611
A hidden gem of a drawcaca, Not him@snuffereet <--- i just selected a random user
A hidden gem of a drawcaca, Not him@snuffereet <--- i just selected a random user
I've noticednotice how i'm not there
who were youevendoe i was more active on the old shlog
Slopjakkerwho were you
doesn't ring a bellSlopjakker
evendoe i was more active on the old shlog
embedded jerryI think
Erm, We're using Goot as an example now geriatricembedded jerry
sorry I'm kinda stuck in the pastErm, We're using Goot as an example now geriatric
@GemersonLakeAndPalmer are you willing to do it?Gemerson should make an updated version since he made that one shlog tierlist with a thrembillion namenoobs on it
Soyjack is S++++++++++++ tierI will make Hillel's nicknames tier list
I wanted to go back to it but shroot is cucking me when it comes to name changesSoyjack is S++++++++++++ tier
Truly one of the most complex relationships in the 'sphereI wanted to go back to it but shroot is cucking me when it comes to name changes
as stupid as it sounds- yesTruly one of the most complex relationships in the 'sphere
Yeah.@GemersonLakeAndPalmer are you willing to do it?
Alright then, Who's the fella able to use thisimport os
from PIL import Image, ImageDraw, ImageFont
def resize_images(input_folder, output_folder, size=(384, 384), extra_space=50):
if not os.path.exists(output_folder):
os.makedirs(output_folder)
for filename in os.listdir(input_folder):
input_path = os.path.join(input_folder, filename)
output_path = os.path.join(output_folder, filename)
try:
img = Image.open(input_path)
img = img.resize(size, Image.NEAREST)
new_size = (size[0], size[1] + extra_space)
new_img = Image.new("RGB", new_size, (255, 255, 255))
new_img.paste(img, (0, 0))
draw = ImageDraw.Draw(new_img)
try:
font = ImageFont.truetype("DejaVuSans-Bold.ttf", 22)
except IOError:
print("oops")
font = ImageFont.load_default()
text = filename[:filename.rfind(".")] if "." in filename else filename
text_position = (196, 407)
text_color = (0, 0, 0)
draw.text(text_position, text, fill=text_color, font=font, anchor="mm")
new_img.save(output_path)
print(f"Resized, added text, and saved: {output_path}")
except Exception as e:
print(f"Error processing {filename}: {e}")
if __name__ == "__main__":
input_folder = '/path/there'
output_folder = '/path/here'
resize_images(input_folder, output_folder)
Just install Python, install the packages, and save as many people's profile pictures as you can under their usernames (Like mine would be GemersonLakeAndPalmer.png)Alright then, Who's the fella able to use this
I ran this and my computer explodedimport os
from PIL import Image, ImageDraw, ImageFont
def resize_images(input_folder, output_folder, size=(384, 384), extra_space=50):
if not os.path.exists(output_folder):
os.makedirs(output_folder)
for filename in os.listdir(input_folder):
input_path = os.path.join(input_folder, filename)
output_path = os.path.join(output_folder, filename)
try:
img = Image.open(input_path)
img = img.resize(size, Image.NEAREST)
new_size = (size[0], size[1] + extra_space)
new_img = Image.new("RGB", new_size, (255, 255, 255))
new_img.paste(img, (0, 0))
draw = ImageDraw.Draw(new_img)
try:
font = ImageFont.truetype("DejaVuSans-Bold.ttf", 22)
except IOError:
print("oops")
font = ImageFont.load_default()
text = filename[:filename.rfind(".")] if "." in filename else filename
text_position = (196, 407)
text_color = (0, 0, 0)
draw.text(text_position, text, fill=text_color, font=font, anchor="mm")
new_img.save(output_path)
print(f"Resized, added text, and saved: {output_path}")
except Exception as e:
print(f"Error processing {filename}: {e}")
if __name__ == "__main__":
input_folder = '/path/there'
output_folder = '/path/here'
resize_images(input_folder, output_folder)