Copy link to clipboard
Copied
I have as that I want to save individual sections of each image in a numerical format...
For example:
Image = 256 x 2048 (4 sections of 256x512 to be saved individually)
End result should be 4 .tga files that are 256 x 512 and saved as: Example-1.tga, Example-2.tga, Example-3.tga, Example-4.tga
which should equal 4 parts of a total image of 256x2048
actionscript process I'm trying but not working..
Marque preset size set to 256x512
For some reason recorded actionscript errors / stops at the undo option like it doesnt recognize this part..
So was wondering if anyone might be able to clarify this to what and or how it should work correctly.
I am trying to figure out if this can be done instead by using slice and or guides to make this process doable..
Copy link to clipboard
Copied
Typo on First Line:
"I have and Image that I want to save individual sections of each image in a numerical format..."
I have been watching several videos on using the slice option but they all lead back to using the export for web option which does not have the option to export as .TGA, only .png and jpeg formats.. If anyone could point me in the right direction how to go about making this an easier workflow process, I would be greatly appreciated.
Copy link to clipboard
Copied
I would actually create a duplicate file, crop, then save it. Then go back to the original file, and do the other crops.
Copy link to clipboard
Copied
As I’m new to scripting, I would also dupe the file and create the new name adding the number suffix on the dupe, then save. The suffix could also be added on the save step, however, I think it would take me more work to do so.
Do you specifically need to crop to fixed output sizes from a fixed input size, or would it be better to simply crop into quarters from a variable sized input image?
What save options for Targa do you require?
Where are the four image tiles being saved, i.e. the same location as the original full-size image?
Copy link to clipboard
Copied
This can also be done using the Image Processor Pro script...
Four file type processing steps would be added, each for a different quadrant of the image. An action would also have four matching crop steps (I used canvas size) that would be referenced in each file type processing tab and the filename suffix would also be added as required.
Before:
After:
Copy link to clipboard
Copied
I feel the simplest way an action can do what you want to to is dupe the document flatten the dup. Make for layers selection 25% wide full height selection of the background layer delete the background and export layers to files. If you remove the Duplicate document from my action you can batch the action using menu File>Automate>Batch.
]