Skip to main content

Stitch with Photoshop

Comments

14 comments

  • Eric Valk

    The script will need to be updated before you can use it with PS 2021. It doesn't look like a complicated change. I suggest that you open a support ticket while CO 20 is still the current version.

    Are you planning to move to Capture One 21?

    0
  • Ian Wilson
    Moderator
    Top Commenter

    Yes I expect I will get Capture One 21, but I haven't ordered it yet.

    Ian

    0
  • Eric Valk

    I have submitted a bug report for the Beta version.

    0
  • Eric Valk

    Alternatively, you can fix it yourself.

    With Finder navigate to Capture One 20.app  in the Applications folder.

    Right click on Capture One 20.app and select Show Package Contents

    Now navigate to Contents/Resources/Scripts

    Select and copy Stitch with Photoshop.app, then paste it in a folder where you can work on it e.g. Documents/Script or Desktop/Script.

    You can now edit it without fear of damaging Capture One 20.app

    With Script Editor open your new copy of  Stitch with Photoshop.app

    At the top right handle corner of Script Editor, you will find a square Icon named "Open Bundle Contents" (if its not shown, open "Customise the Tool Bar" and add it)

    Click on the "Open Bundle Contents" icon, and a drawer will open, inside the drawer is a folder called Scripts.

    In the scripts folder is a script called "PS_Stitching.scpt". Right click on that and select open. This will cause Script Editor to open a new window for editting "PS_Stitching.scpt"

    Near the top of this script you will find some code that looks like this

     else if (PSversion is "21") then
    -- CC 2020
    return stitch(stitchlist, "Adobe Photoshop 2020", "CC")

    else

    Copy and paste the first 3 lines, and change it so that it looks like this

     else if (PSversion is "21") then
    -- CC 2020
    return stitch(stitchlist, "Adobe Photoshop 2020", "CC")

    else if (PSversion is "22") then
    -- CC 2021
    return stitch(stitchlist, "Adobe Photoshop 2021", "CC")

    else

    Save   PS_Stitching.scpt and close it's window. (The act of saving causes Script Editor to compile)

    Save  Stitch with Photoshop.app; do not close its window.

    Now open Capture One and Photoshop; In Capture One select some images. Make Script Editor run Stitch with Photoshop.app, and I expect that it will work.

    I note that versions previous to version 21 were called "Photoshop", it is only the 2020 version that is called "Adobe Photoshop". I'm guessing the 2021 version will be the same as the 2020 version, but they might possibly revert back to the pattern used before 2020.

     

     

    1
  • Leo FABRIZIO

    it's working, but giving an error window in PS though.

    0
  • Eric Valk

    What is the error message from PS? Does PS do the stitching, or does it just throw the error message?

    1
  • Leo FABRIZIO

    Sorry, the message is actually in C1.

    In fact, actually there are two message. First one to tell we are going to stich images in PS, what we obviously want, with an OK button...

    Could be nice if we could get rid of it:

    And then, after the process done, what's may be the confirmation message? That looks more like an error message:

    Thanks if you can help.

    One refelection:

    To avoid to loose the modifications in case of C1 minor update, instead of keeping the modified script in the Show Package Contents, (plus a backup if I mess), I copied and modified the script in : (C1 menu:) Script -> open scripts folder and renamed it: Stich with Photoshop 2021. When the issue will be fixed by an update, it's then quite easy to manage your scripts.

     

     

    0
  • Eric Valk

    Hi Leo

    Good choice to move the modified script, and to keep a refernce copy. I always do that.

    As you say, the first message is confirmation.

    The second message is actually from System Events, which has been asked to manipulate the GUI of Adobe Photoshop 2021 - the complaint is that it can't find Edit on the menu bar of Adobe Photoshop 2021. Since Edit is usually on every main menubar, I wonder if we have the right process name.

    Therefore, can you start Adobe Photoshop 2021 and Script Editor, wait until PS21 has initialised and then run this Applescript. Report the results, and how long does it take PS21 to complete initialising

    use AppleScript version "2.4"
    use scripting additions

    tell application "System Events" to log (get name of every process whose background only is false)

     

    0
  • Leo FABRIZIO

    Thanks for the kind help, but I am not sure to understand or to have the ability to do what you asked. I ran the script through the apple script app but nothing happened.

    I changer "2.4" to "2.7" as this is the version I use and I manage to find that answer:

    tell application "System Events"

    get name of every process whose background only = false

    --> {"ColorNavigator 6", "Wacom Desktop Center", "Finder", "Creative Cloud", "Safari", "Calendar", "AdobeAcrobat", "Capture One 20", "Adobe Photoshop 2021", "HP Easy Scan", "Mail", "Script Editor"}

    (*ColorNavigator 6, Wacom Desktop Center, Finder, Creative Cloud, Safari, Calendar, AdobeAcrobat, Capture One 20, Adobe Photoshop 2021, HP Easy Scan, Mail, Script Editor*)

    end tell

    Meanwhile I discovered that C1 export through that script the files without taking in account the modification made in C1, which is a non-sens to me.
    It also arrange the layers on a subfolder in PS which is annoying, but nothing compare the *raw* tiff sent to PS.

    Don't you if you have any clue.

    thx

     

    0
  • Eric Valk

    Hi Leo, this tis the result I expected, and it tells me that we are using the correct process name "Adobe Photoshop 2021". Therefore the problem is buried deeper in the Photoshop 2020 user interface.I say this because the Applescript accesses the Photoshop user interface menu items directly and the error message indicates that it cannot find the buttons.

    This will be more work to debug, considering that I don't have and don't plan to buy Photoshop 2020. It can be done, but I would have to provide several scripts like the one above to discover how AppleScript can find Photoshop's Auto Align and Auto Blend buttons, and you would have to run them.

    If you have the patience for this, then we can do it, but otherwise you will have to find another way.

    0
  • Leo FABRIZIO

    Hi Eric, I guess is safe to wait a new update or capture one 21 I orderer. PS2021 should be implemented.

    My main concern now is to now if the export for stitching is done with the modified raw or as raw raw as it's done now.

    It is still possible to export modified raw in an folder and import them as layer in photoshop, it's just long as hell.

    Let's see what the update brings.

     

    0
  • Eric Valk

    Good idea to wait for Cpature One 21.

    One comment.

    It has always been the case for Capture One that when you use the "Edit with" command, the RAW file is not sent. A new JPG, TIFF or PSD image file is generated to send to the editting application. The original file cannot be sent using this command.

    To send the original image file to another editor you must use "Open with"

     

    0
  • Leo FABRIZIO

    Sorry I didn't express myself properly. Of course it's not the RAW file that is sent. What I mean is that when you use the script, the file generated (TIFF in this case) that will be opened in layers in PS, does not take in account the modifications done in Capture One. It's generate a TIFF from the RAW as taken by the camera, without the correction you make in C1. I do not understand that point, as what you want from C1 is to apply some modification on your RAW, then export them to be stack or stitched in Photoshop... (we stay stich but actually it's stack as layers...) (even not mentioning C1 can't stich RAW panorama as Lightroom does...)

     

    0
  • Eric Valk

    OK, now I understand.

    I notice that the output of the "Edit with" command is executed with a recipe which has an "Adjustments" tab, where one can choose if sharpening and crop adjustments are used. Its not clear to me if photostitching script allows the user to adjust adjusting these settings, or if the script sets them or if the script uses default settings.

    0

Please sign in to leave a comment.