I'm running into an issue where I can't get the base64 encoded string to copy and paste into my terminal, so I can't store the base64 encoded image...
Background- Hey, I'm doing a project that uses MERN stack (MongoDB, Express, React, and Node.js). I'm using the database to store images--the images themselves are too long, so I used base64 encoding to compress them. They're too long to copy/paste. I'm super new too all of this, Mongo, Express, React, and Node.js. I guess I'm just looking for the best way to either shorten the string or compress the image more before base64 encoding it. Thanks!
Edit I will be uploading ~125 images. They're likely going to be around 14k KB each.