Photoshop: Problem with Exporting Spherical Panorama when in Automate/Batch mode

  • 1
  • Problem
  • Updated 1 year ago
  • (Edited)
I am editing several 360 (Spherical Panoramas) photos that I took recently - mainly minor edits in curves layer, and then removing nadir content.  Since I have several sets of these photos (some of them in the hundreds per set) for virtual tours, I decided to use the Automate/Batch process.

Everything was working well until the step "Export Panorama...".

While recording this action, I had to use the Export Dialog which prompts for 

- Save As filename (the Photoshop pre-populated default is "SphericalMap copy.jpg")
- Folder location (I set this to my desired output folder)
- Format (I use the default, JPEG)

I thought this was a problem since both the Automate-Batch and the Automate-Droplet only had specifications for File-Save but not for File-Export. True enough, when I ran the batch process, the process saved the export jpg files to the same output file "SphericalMap copy.jpg" (or whatever filename you put in Save As recorded action) as many times as there were exports to be done. 

Is this a problem or am I missing something? I would really like to have 100% or near-100% automation in this regard rather than 50% when I have to process hundreds of photos.

Any insight would be appreciated - Thanks!
Photo of LeeA.Lorenzo


  • 1 Post
  • 0 Reply Likes

Posted 2 years ago

  • 1
Photo of Conny Holm

Conny Holm

  • 1 Post
  • 0 Reply Likes
I am having the same issue, did you find any solution?
I am having the same issue, did you find any solution?
Photo of Josh Birge

Josh Birge

  • 1 Post
  • 2 Reply Likes
I may have a solution...

I ran into the same issue because I wanted to batch remove all the instances of my monopod in my 360 photos. But I ran into the same exporting issue as you guys.
My solution: Not to save the original file but the temporary file photoshop creates when you double-click - spherical map.
Creating Your Action: Start recording your action and run through all your desired steps once you're done all you have to do is double-click on the spherical map smart effect that is added under the 360 layer and it will open the unwrapped layer, at this point all you have to do is record your save function and stop the recording. Boom Bam Thank You, MA'AM!
I've attached my action so you can test it out and reverse engineer it for your own use.
Photo of Sam Gannaway

Sam Gannaway, Employee

  • 16 Posts
  • 13 Reply Likes
That's a nice workaround you found.  Indeed the Batch Action support is limited for Export Panorama.  It should be caught like a "Save As" action. 

If you find yourself needing more flexibility for your automation needs, I recommend looking into the the scripting support.  For example the Export Panorama step could look like this:
var outPath = "~/Desktop";
var outName = "panorama.jpg"
var idExportPanorama = stringIDToTypeID( "ExportPanorama" );
var expDesc = new ActionDescriptor();
var idFilR = charIDToTypeID( "FilR" );
expDesc.putPath( idFilR, new File( outPath + "/" + outName ) );
executeAction( idExportPanorama, expDesc, DialogModes.NO );