>It's genuinely unreal how much of a pathetic cacaot you are. Going on an insanely autistic rant about a game franchise you don't like simply because you had a bad experience with some of its equally autistic fans. You do know you're not any better than any of them by doing this, right?
  • Welcome. Registering and having your account be approved may take a while since there's only one guy checking and approving accounts and guestposts
  • Boards are being moved around and added. Leave feedback in this thread and let jannies move your threads

Shroom users tier list

  • Thread starter Thread starter supadrayk
  • Start date Start date
  • Autism 
  • Tags Tags
    ecstasy raped a mulatto renter hermaphrodite gem tierlist
import 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)
 
import 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)
Alright then, Who's the fella able to use this
 
Alright then, Who's the fella able to use this
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)

Also to convert jpg to png:
from PIL import Image
import os
input_directory = '/home/my_name/Pictures/Shlog users'
output_directory = '/home/my_name/Pictures/Shlog users/img_output'
# Ensure output directory exists
os.makedirs(output_directory, exist_ok=True)
for filename in os.listdir(input_directory):
if filename.endswith(".gif"):
file_path = os.path.join(input_directory, filename) # Full path of the input file
im = Image.open(file_path) # Open GIF image
im = im.convert('RGBA') # Convert to RGBA to preserve transparency

# Change extension from .gif to .png
name_without_ext = os.path.splitext(filename)[0]
output_file = os.path.join(output_directory, f'{name_without_ext}.png')

im.save(output_file) # Save converted image
print(f"Saved: {output_file}")
 
Last edited:
import 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)
I ran this and my computer exploded
 
Back
Top Bottom