Download, process & reupload file from UploadThing
Exactly what the title says. I have a bunch of images on UploadThing in random aspect ratios. I need to save specific ones in a 1:1 ratio. So I would have to fetch the file within an api route handler, rescale it and reupload to uploadthing as a new 1:1 ratio image.
0 Replies