Batch automating... batch automation!
Hi forum pals!
I feel like theres a solution out there, but just need a gentle nudge in the right direction.
I am looking to bulk resize and rename files. To give some context, I have artwork that fits perfectly onto an iPhone 6 phone case template. I'd like to batch create all of the other iPhone sizes and rename as appropriate.
For example, lets say i have a file...
iphone6-design1.jpg
I would like to generate...
iPhone7-design1.jpg
iPhone7Plus-design1.jpg
iPhone8-design1.jpg
iPhone8Plus-design1.jpg
iPhoneX-design1.jpg
and so on.
Now an important factor, is that these templates will all be different sizes and in some cases slightly different aspect ratios. As such, the action that I record is generally...
- Resize the canvas
- Resize the single layer that sits in the jpg file... keeping it centred at all times. I'd either increase or decrease size depending on whats required. It would be resized until there is no transparent space in the document... sometimes this is when it hits the top/bottom and sometimes the sides... all depends on the aspect ratio of the template in question.
I've managed to record actions which can complete the process of creating one template...i.e. make changes to iPhone7-design.jpg to make it what I need for iPhone X, then save as iPhoneX-design1.jpg. I'm also comfortable with batch automation, so take all files in a folder and batch run an action... such as going from iPhone 7 to iPhone X.
What I am struggling with, is finding a way to batch automate the batch automation! By this, I mean... I'd like to chuck say 500 iPhone6 jpgs into a folder, I'd like to then hit ONE button and it batch creates all of the other iPhone jpeg templates.
It may be that scripting is required... if thats the case, can anyone recommend an expert? Or there may be a plugin that does what I require that I'm yet to find.
I just dont feel like I'll be the first person who wants to do something like this!
Any help is hugely appreciated. If I'm not explaining myself well and need to clarify further, let me know!
Thanks,
Mark
