Hello,
I am currently new to the scripting on Photoshop. Recently I have started to perform some very repetitive actions and was looking for alternatives to get them done. I looked around the internet for a certain script, but cannot find it. The scripts function would be the following...
- Have a set pixel ratio (2048x2048)
- Start in one of the corners
- Crop the image (Mine is currently a little more than 20,000x20,000 pixels) down to the pixel ratio
- Save that portion of the cropped image in png
- Move left or right or down (whichever is logically next)
- Repeat the process until the whole file has been saved in smaller chunks
If anyone knows if this script exists please point me to the correct resource, this would help me so, so, so much.
For anyone who is curious, here is the reason why I need a script that does this.
Currently I am working on the starting stages of a very large platformer game. Currently art seems to be the most heavy task on the game. The platforming world is going to be very large and hopeful everything will be unique (as in no repeating patterns or textures). There will be two artist working on the game, myself included. I was trying to find a more efficient way of saving these very large scale files in chunks. My current file or test file is around 20,000x20,000 pixels. Doing the math to save one layer of this image in 2048 block images will take 100 repetitive save motions. Take this number times 3 for the amount of layers I need saved and it jumps up to 300. In the end the game will be somewhere around 20,000x100,000 pixels, which will just kill me if I have to do it by hand. It would take days.
I have tried using slicing and the save for web option, but Photoshop cannot handle the large file. If there are any other methods that I can use to save a Photoshop image in 2048x2048 chunks easily, please let me know. This is a sort of make it or break it deal for the games art on whether we can make it more unique or have to use a lot of repeating patterns.