Meta seems to have money to burn, so they’ll gladly pay for the disk space to host your uncompressible images. Here’s a Python script to generate them!

generate.py
from PIL import Image
from tqdm import tqdm
import numpy as np
import sys
import os

number_of_images = 1000
width = 2048
height = 1024

for filename in tqdm(range(number_of_images)):
	image = Image.fromarray(np.random.randint(0, 256, (height, width, 3), dtype=np.uint8))
	image.save(str(filename) + ".png")
requirements.txt
pillow
tqdm
numpy
  • @oktoberpaard@feddit.nl
    link
    fedilink
    English
    21 year ago

    Doesn’t that also burden any fediverse instance that’s federated with it? Or is Threads not federated (yet)?

    • Cevilia (she/they/…)OP
      link
      English
      8
      edit-2
      1 year ago

      Nope, images don’t federate, just links to them :)

      What’s uploaded: 1000 10MB pictures What’s federated: 1000 hyperlinks