Skip to content

Instantly share code, notes, and snippets.

View erikside's full-sized avatar

Erik side erikside

View GitHub Profile
@erikside
erikside / png_increase.mjs
Created May 24, 2023 09:18 — forked from skeletoncrewrip/png_increase.mjs
Enlarge the size of PNGs by repeatedly writing a string to metadata
import png from 'png-metadata';
import fs from 'fs';
const desiredSize = 24000;
const folder = './assets/';
const creatorString = 'Skeleton Crew';
const fillerString = 'https://treattoolbox.com ';
const bumpImageSize = async (file) => {
if (file.endsWith('.png')) {