FORUMS: list search recent posts

Splitting thousands of images evenly

COW Forums : Adobe Photoshop

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Al Jensen
Splitting thousands of images evenly
on Sep 16, 2013 at 2:17:03 am

Hey guys,

I've been given around 10,000 images that are all 4 smaller pictures in a 2x2 grid. What I need to do is split all of these out and re-save them as Filename_1.jpg through Filename_4.jpg.

The actual files themselves range through all sorts of dimensions, like say 100x100 to 400x100. The individual pictures within the file will always be half the resolution in each direction, so essentially I need to crop out each "corner". So in the 400x100 example the result with be 4 images that are 200x50 (top-left, top-right, bottom-left, bottom-right -- in that order).

I was trying to figure out a way to batch this process using Photoshop (CS6) and haven't really come up with anything. You can do Canvas Size and push the grid button for the corner you want and then cut the resolution in half, but I'm not sure how to do that in a repeatable way that gets all 4 corners for every image, and then renames them to Filename_1.jpg, before moving on to the next one.

Any ideas would be appreciated, even if it involves another program. Maybe I can hire a guy to make some sort of PHP script? I dunno. Thanks!



Return to posts index

Dwayne Smith
Re: Splitting thousands of images evenly
on Sep 16, 2013 at 10:38:18 am

G'day Al
Can't think of a way you could do that automatically with just photoshop.
If you're on a Mac, I'm sure you could do it with Applescript.
Happy to help you build one if this would suit.
You can find an example of a good starting point here.
d.


Return to posts index

Al Jensen
Re: Splitting thousands of images evenly
on Sep 16, 2013 at 6:32:26 pm

Very interesting! That seems like something that might work, but unfortunately I'm on a PC. Is there a PC equivalent?

Thanks!



Return to posts index



Dwayne Smith
Re: Splitting thousands of images evenly
on Sep 16, 2013 at 8:45:51 pm

Yep — Javascript. Or you might find someone who's done something in VBscript.
Your best bet is to head over to the Photoshop Scripting Forum.

Good luck with it.
d.


Return to posts index

Al Jensen
Re: Splitting thousands of images evenly
on Sep 16, 2013 at 9:55:39 pm

Thanks so much, appreciate it!



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]