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

Script to run recorded action folder by folder

New Here ,
Dec 28, 2015 Dec 28, 2015

Copy link to clipboard

Copied

Hi there,

I have an action to convert a photo from Adobe RGB to sRGB and than save it without an embedded color profile. I hoped to run this action through Automate > Batch, but the main folder contains 2400 subfolders with over 100k photos which overloads the memory and Photoshop crashes. Would it be possible to run this action through a script that would tell Photoshop to process first folder, then second folder etc.?

Any help or direction pointing is much appreciated.

Cheers, Jan.

TOPICS
Actions and scripting

Views

542

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
Adobe
Community Expert ,
Dec 28, 2015 Dec 28, 2015

Copy link to clipboard

Copied

Y ?

JJMack

Votes

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
New Here ,
Dec 28, 2015 Dec 28, 2015

Copy link to clipboard

Copied

Why what?

Votes

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
Community Expert ,
Dec 28, 2015 Dec 28, 2015

Copy link to clipboard

Copied

Why do you need 100,000+ aRGB image that are is 2,4001 folders that are any size and any image file format converted to 100,000+ sRGB Image without profiles.

The Image Processor  Photoshop script installed by Adobe with Photoshop CS6 is designed to do batch Image Processing like that. It can also fit the output image to any size you may want. I would just like to know Why you need to do something like that for 100000+ images. 

I can not think of any reason why someone would need to batch 100,000+ images

JJMack

Votes

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
New Here ,
Dec 28, 2015 Dec 28, 2015

Copy link to clipboard

Copied

I see I am supposed to move "several" 360 degree photographs from one viewer to a new one. Some source files are in sRGB, some in aRGB color space, which is a problem at first place. Surprisingly, when I upload sRGB converted photo with embedded sRGB profile, in the new viewer it causes color difference between fully loaded image and low resolution images displayed during rotation in 100% zoom. When there is no color profile embedded to the file all photos are displayed correctly at all times.

I've already tried to use the Image Processor, but it crashed Photoshop as well.

Votes

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
Advisor ,
Dec 28, 2015 Dec 28, 2015

Copy link to clipboard

Copied

There is also Image Processor Pro that can convert files to sRGB and save with or without embedding the profile. Note that if the profile of the original image is not sRGB, IPP will do a conversion.

The current rev is v3.2b3 at ps-scripts - Browse /Image Processor Pro/v3_2 betas at SourceForge.net

If it still crashes, you're going to have to process smaller clumps of folders using IPP or the other alternatives from above.

Votes

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
Community Expert ,
Dec 28, 2015 Dec 28, 2015

Copy link to clipboard

Copied

100,000 is a tall order If you machine did not run our of resources it would take a extremely long time. and depending on the file sizes would require many GB if free disk storage to store the output files..   Are you sure it memory Photoshop is running out of. I have 40GB of RAM on my machine . Photoshop seldom uses more the 16GB of RAM but I have seen Photoshop use over 100GB of scratch space.

JJMack

Votes

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
Community Expert ,
Dec 28, 2015 Dec 28, 2015

Copy link to clipboard

Copied

LATEST

For “industrial” quantities, I would suggest that you look into ImageMagick or GraphicsMagick.

http://www.imagemagick.org/

http://www.graphicsmagick.org/

EDIT: If you are on a Mac, simply use a ColorSync AppleScript or Automator to process the images from one colour space to another and to remove the ICC tag.

Votes

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