Split Panorama into 3 Equal Parts – Photoshop Script
This Photoshop script is designed to automatically split any panorama image into 3 equal vertical segments and save each part separately as a JPG file. It's perfect for photographers, designers, or social media creators who want to break down wide images into separate panels for Instagram carousels posts.
⚠️ Important Note (Image Requirements)
Before running the script, please make sure your panorama image is properly cropped or resized to a 12x5 aspect ratio (for example, 1200px wide by 500px tall) in Photoshop.
This ensures the image can be split evenly into 3 vertical segments with no overlap or gaps.
This script does not automatically crop or adjust the image dimensions — it assumes the image is already formatted correctly.
A typical example would be a DJI drone 180° panorama resized to fit the 12x5 ratio.
Running the script on images with incorrect aspect ratios may result in uneven splits or unwanted artifacts in the saved segments.
🛠️ How it works
- The script takes the currently open image in Photoshop and calculates its width.
- It splits the image into three equal vertical sections.
- Each segment is saved automatically as a high-quality JPG file.
📂 Where Are the Files Saved?
By default, the three images will be saved to a folder called "PanoramaSplit"
on your Desktop.
📁 How to Use the Script
- Open your panorama image in Adobe Photoshop.
- Go to:
File > Scripts > Browse
- Select the
.jsx
script file and run it. - The script will do the rest automatically.
📝 How to Change the Output Folder
If you want to save the segments in a different location, simply open the script in a text editor and look for the following line:
javascript
var saveFolder = Folder("~/Desktop/PanoramaSplit");
To change the folder, replace the path. For example, to save to a custom folder on drive D:
javascript
var saveFolder = Folder("D:/MyCustomFolder/Splits");
Make sure the folder path exists or Photoshop will throw an error.
💡 Bonus Tip
For quicker access, you can place this script in Photoshop’s Scripts directory:
C:\Program Files\Adobe\Adobe Photoshop [version]\Presets\Scripts\
(or macOS equivalent)
Then restart Photoshop. The script will now appear under:
File > Scripts > [Your Script Name]
Whether you’re preparing carousels for Instagram or formatting print layouts, this script saves you time and effort.
Download it once – use it forever!