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
  • ReCursing@kbin.social
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Be sure to do this with a burner phone or via a virtual machine or emulator so you don;t give them everything they actually want as well.