• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Exporting / Saving as should be made easier and automated

Participant ,
May 08, 2023 May 08, 2023

Copy link to clipboard

Copied

Hello.

 

As a photographer, I edit my pictures first in a non-adobe software, then I fine-tune my hero shots in photoshop. I need them all in both .TIF and .JPG.

 

The quickest way I found for that is to save them at first as .TIFF.

Then I had two options :

  1.  A shortcut for quick export, but it doesn't save the best quality JPG so...
  2.  Save all the TIFF and then run the batch process.

 

Then I have to browse through the explorer to have my images in the same folder (batch export creates one even if I select "save in the same location").

 

This is a long and uneffective process.

 

As a photographer, what I would  ideally need is being able to save in one shortcut :

- 16bits Tif

- Max quality JPEG

- Large Web JPEG

(- Small Web JPEG)

All with the EXIF ! (That's important and it somehow disappears with the batch process/quick export).

 

Indeed, I think we should be able to register in the software a multi-save pattern.

This would record the settings and we would just have to enter a file name and a location ; it would do the rest. Without subfolder.

 

If we could set up a high treshold for web images (ex: max 5mo), that would be the cherry on the cake.

 

Thanks for understanding.

Martin

 

Idea No status
TOPICS
Actions and scripting , Windows

Views

462

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Aug 27, 2023 Aug 27, 2023

@MartinDedron 

 

Try the following code. Changes can be made if necessary.

 

/*
Save Open Raw Render to 3 Files.jsx
https://community.adobe.com/t5/photoshop-ecosystem-ideas/exporting-saving-as-should-be-made-easier-and-automated/idc-p/14040624
v1.0 - 27th August 2023, Stephen Marsh
*/

#target photoshop

var origPath = activeDocument.path.fsName;
var docName = activeDocument.name.replace(/\.[^\.]+$/, '');
var saveFileTIFF = new File(origPath + '/' + docName + '.tif');
var saveFileJPEG = new File
...

Votes

Translate

Translate
10 Comments
Community Expert ,
May 09, 2023 May 09, 2023

Copy link to clipboard

Copied

Export As and Save for Web are for use for saving images for the web and similar.

If you want to revert to the previous Photoshop Save As method, you can change that to legacy under the File Handling tab in preferences.

Votes

Translate

Translate

Report

Report
Community Expert ,
May 09, 2023 May 09, 2023

Copy link to clipboard

Copied

I understand that this is an idea/feature request. While waiting for a feature that may never appear, you can look into the Image Processor Pro script, which can save up to 10 sets of images with different settings.

 

https://sourceforge.net/projects/ps-scripts/files/Image%20Processor%20Pro/v3_2%20betas/

 

An action could do this, however, the save location would always be the same.

 

Another option is a custom script, however, more specific info would be required.

Votes

Translate

Translate

Report

Report
Community Expert ,
May 09, 2023 May 09, 2023

Copy link to clipboard

Copied

Actually this isn't hard to do with actions. Editing an action step is just a double-click away. Assign an F-key, and send them on their way. And you can have nested actions.

 

Files for output are never saved anyway, the master is still there, so I send them all to an "outbox" folder on my desktop, which I flush at intervals. No reason to make this more complicated than it needs to be.

 

 

Votes

Translate

Translate

Report

Report
Participant ,
May 14, 2023 May 14, 2023

Copy link to clipboard

Copied

Thank you. I will check this out.

Votes

Translate

Translate

Report

Report
Participant ,
May 14, 2023 May 14, 2023

Copy link to clipboard

Copied

Let's say , I have 12 folders divind my photographs into main series. Would you create a generic action and then change the path to the right folder every time?

The easiest would be to able to include a pop-up asking for the path. And then saving as I want.

Votes

Translate

Translate

Report

Report
Community Expert ,
May 14, 2023 May 14, 2023

Copy link to clipboard

Copied

An action modal control should allow you to change the save location on the fly:

 

https://helpx.adobe.com/au/photoshop/using/creating-actions.html#change-settings

 

Votes

Translate

Translate

Report

Report
Participant ,
Aug 14, 2023 Aug 14, 2023

Copy link to clipboard

Copied

What specific info, for example?

The idea would be to set the saving folder and the base title, then it would save in TIFF, JPEG100 and a reduced JPEG for web.

Votes

Translate

Translate

Report

Report
Community Expert ,
Aug 14, 2023 Aug 14, 2023

Copy link to clipboard

Copied

@MartinDedron – You asked what specific info would help in scripting this task?

 

- 16bits Tif = TIFF save options, a screenshot would help

- Max quality JPEG = JPEG save options, a screenshot would help

- Large Web JPEG = What is the px size for the longest edge + JPEG save options, and a screenshot would help

(- Small Web JPEG) = What is the px size for the longest edge + JPEG save options, and a screenshot would help

 

Votes

Translate

Translate

Report

Report
Participant ,
Aug 16, 2023 Aug 16, 2023

Copy link to clipboard

Copied

To be as specific as possible, here is my organisation.

ezed.pngI have generic folders for landscape, portraits, etc. Subfolders inside of them.

This way I have my photographs organised by theme and series.

 

Then, a word about my workflow and needs.

I shoot RAW, edit the pictures in a photo software, and have two types of files as an output : 

- JPEG files, that I won't edit further.

- TIFF files, that I will probably print and refine through photoshop.

 

Those later TIFF files being the main part of my work, I need them for different uses : print, web, high-quality web, etc. 

 

The way I used to proceed is to save as Tiff in the right folder directly (for example : Landscape/Portugal2023), and to do a quick export in order to have JPEG.

The way I do now is to save just the TIFF and then, batch export as JPEG 12.

 

A big trouble I happen to have is with the metadata. It seems that for some reason both quick export and batch convert erase the EXIF. I find this troublesome.

Anyway, the feature I would like to use would be so set up a saving pattern.

 

For example : I save a TIFF (with an action shortcut), and it saves in the exact same folder the files I need.

Let's say I save my TIFF photograph as "Ploc.tiff".

It would save automatically : 

- A maximum quality JPEG version

- A JPEG that's limited to 2048 pixels in its maximum size (width or height) and maximum 5MO.

 

 

If you couled find a solution to this, it would clearly save me thousands of clicks.

 

Kind regards, 

Martin Dedron

save1.pngsave 2.png

Votes

Translate

Translate

Report

Report
Community Expert ,
Aug 27, 2023 Aug 27, 2023

Copy link to clipboard

Copied

LATEST

@MartinDedron 

 

Try the following code. Changes can be made if necessary.

 

/*
Save Open Raw Render to 3 Files.jsx
https://community.adobe.com/t5/photoshop-ecosystem-ideas/exporting-saving-as-should-be-made-easier-and-automated/idc-p/14040624
v1.0 - 27th August 2023, Stephen Marsh
*/

#target photoshop

var origPath = activeDocument.path.fsName;
var docName = activeDocument.name.replace(/\.[^\.]+$/, '');
var saveFileTIFF = new File(origPath + '/' + docName + '.tif');
var saveFileJPEG = new File(origPath + '/' + docName + '.jpg');
var saveFileSmallJPEG = new File(origPath + '/' + docName + '_2048px' + '.jpg');
saveTIFF(saveFileTIFF);
saveJPEG(12, saveFileJPEG);
fitImage(2048, 2048);
saveSmallJPEG(10, saveFileSmallJPEG);
activeDocument.close(SaveOptions.DONOTSAVECHANGES);


function saveTIFF(saveFileTIFF) {
    tiffSaveOptions = new TiffSaveOptions();
    tiffSaveOptions.embedColorProfile = true;
    tiffSaveOptions.byteOrder = ByteOrder.IBM;
    tiffSaveOptions.transparency = true;
    tiffSaveOptions.layers = true;
    tiffSaveOptions.layerCompression = LayerCompression.ZIP;
    tiffSaveOptions.interleaveChannels = true;
    tiffSaveOptions.alphaChannels = true;
    tiffSaveOptions.annotations = true;
    tiffSaveOptions.spotColors = true;
    tiffSaveOptions.saveImagePyramid = false;
    tiffSaveOptions.imageCompression = TIFFEncoding.NONE;
    activeDocument.saveAs(saveFileTIFF, tiffSaveOptions, true, Extension.LOWERCASE);
}

function saveJPEG(compValue, saveFileJPEG) {
    var jpegSaveOptions = new JPEGSaveOptions();
		jpegSaveOptions.embedColorProfile = true;
		jpegSaveOptions.formatOptions = FormatOptions.STANDARDBASELINE;
		jpegSaveOptions.matte = MatteType.NONE;
		jpegSaveOptions.quality = compValue;
    activeDocument.saveAs(saveFileJPEG, jpegSaveOptions, true, Extension.LOWERCASE);
}

function saveSmallJPEG(compValue, saveFileSmallJPEG) {
    var jpegSaveOptions = new JPEGSaveOptions();
		jpegSaveOptions.embedColorProfile = true;
		jpegSaveOptions.formatOptions = FormatOptions.STANDARDBASELINE;
		jpegSaveOptions.matte = MatteType.NONE;
		jpegSaveOptions.quality = compValue;
    activeDocument.saveAs(saveFileSmallJPEG, jpegSaveOptions, true, Extension.LOWERCASE);
}

function fitImage(fWidth, fHeight) {
    if (activeDocument.height > activeDocument.width) {
        activeDocument.resizeImage(null, UnitValue(fHeight, "px"), null, ResampleMethod.BICUBIC);
    } else {
        activeDocument.resizeImage(UnitValue(fWidth, "px"), null, null, ResampleMethod.BICUBIC);
    }
}

 

Info on saving and running scripts here:

 

https://prepression.blogspot.com/2017/11/downloading-and-installing-adobe-scripts.html

Votes

Translate

Translate

Report

Report