Simple shell scripts to generate Etsy-ready artwork product images.
This uses imagemagick. Run it in a folder and it'll automatically convert any image it finds. Append the relevant code to the filename to control the frame template used:
[filename]-p
= portrait 8x10[filename]-l
= landscape 8x10[filename]-pa
= portrait A4[filename]-la
= landscape A4[filename]-s
= square
Uses Cloudinary. The script will iterate through batches of sequentially numbered images, generating framed and cropped versions of each.
Files will be output as JPEGs.
- Upload product images to Cloudinary
- Run script
- ...
- Profit
sh frame.sh [image shape] [start no] [stop no] [batch name] [output name]
For example:
sh frame.sh l 1 20 Buttterflies_8x10 Butterflies
The script can generate frames for square, A4 and 8x10 images, portrait or landscape.
p
= portrait 8x10l
= landscape 8x10pa
= portrait A4la
= landscape A4s
= square
Specify the number of images to download in a batch. If there are 20 images and you want to download all of them, put 1 20
. If you only want a few, specify the range within, e.g 5 15
.
Make sure images uploaded to Cloudinary follow the pattern [batch name]_[number]
, e.g. Butterflies_8x10_1
, Butterflies_8x10_2
etc. Use batch name without the trailing underscore and number, e.g. Butterflies_8x10
.
This is the saved filename for your images. This can be the same or different to the batch name. They will also be numbered sequentially.