This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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')) { |