Combine several images via action sequences (and script?)

My problem is quite simple.

After that installation of the release of minutes of my 3d in photoshop (32-bit) application and changing the appearance through several CC layers in the layer modes different (e.g., hue/saturation in overlay mode) I'm done with my component printing purposes. The model is complex, with several hidden folders, single-blind CC layers and layers of the image (some with masks).

Now the client asked me to animate the part of the image. No problem, I thought. But the trick is to know how to assemble different image sequences (diffuse, specular, reflection, masks, etc., etc.). I came with a PS action that has loaded the images simple and classified in the same way as the master file.

But now PS does not load additional images to the batch.

Images are named in a Diffuse_00001, Specular_00001,... fashion. The first set of loading, but Diffuse_00002, all work goes wrong and PS load files 00001 (with the exception of a file which loads the proper incremental way).

I can't transfer anything like that on AE as it is much too complex and I don't no AE very little.

I assumed that the PS should be able to solve this task of batch processing, but a simple gesture batch seems to fail.

Anyone knows a solution?

See you soon

Thomas

Here is a basic outline (not tested) it will be necessary to do a fantasy Action to do what you want, at the moment the action to close all four input files.

What the script will do is open 4 files in each folder

Your name of the action and the defined action must be changed in the code

Once your completed action it must be only the left file to save, it will be saved as a png in Renders folder and the file closed.

It will then repeat as abobe.

Hope this is a start for you.

Select folder Renders
var inputFolder = Folder.selectDialog ("Please select makes folder");
Set the folders
diffuse var folder = (decodeURI (inputFolder + "/ broadcasts"));
var specularList = folder (decodeURI (inputFolder + "/ specularList"));
var reflection = folder (decodeURI (inputFolder + "/ reflection"));
var alpha = folder (decodeURI (inputFolder + "/ alpha"));
The list of files
var diffuseList = diffuse .getFiles (/ \.) (HDR) | (exr) / $i);
var specularList = specularList.getFiles (/ \.) (HDR) | (exr) / $i);
var reflectionList = reflection.getFiles (/ \.) (HDR) | (exr) / $i);
var alphaList = alpha.getFiles (/ \.) (HDR) | (exr) / $i);
Create a loop to open and process the files
for (var a = 0;<>
Open all the files of four
Open(diffuse[a]);
Open (specularList [a]).
Open (Reflection [a]).
Open (alpha [a]).
get your action name and action series
At present, the action will have to close four files!
doAction ("ActionName", "ActionSet");
Do your backup etc.
var saveFile = file (decodeURI (inputFolder + "/ Image_" + diffuse[a].name.match(/\d+/) + "png"));
Save in png 24-bit
SavePNG (saveFile);
Close document
app.activeDocument.close (SaveOptions.DONOTSAVECHANGES);
}
function SavePNG (saveFile) {}
pngSaveOptions = new PNGSaveOptions();
pngSaveOptions.embedColorProfile = true;
pngSaveOptions.formatOptions = FormatOptions.STANDARDBASELINE;
pngSaveOptions.matte = MatteType.NONE;
pngSaveOptions.quality = 1;
pngSaveOptions.PNG8 = false; 24-bit PNG
pngSaveOptions.transparency = true;
activeDocument.saveAs (saveFile, pngSaveOptions, true, Extension.LOWERCASE);
}

Tags: Photoshop

Similar Questions

  • Button "Exit", used in several images of the sequence

    I hope that there is a more elegant way to do...

    See the VI attached for a much simplified program that is typical of what I am trying to accomplish.  Basically I have a button that I want available in several images in the sequence.  In this case, I used a button "quit".  When you press on, the program passes by remaining sequence frames until it ends.  The last image "unclicks" the button "Exit".  This last image is necessary because I had to put the mechanical action of the Exit button for "switch when released" because I used local variables in all the images in the sequence after the first.

    Is there a way I can accomplish the same functionality of this program without using local variables and/or during the definition of the mechanical action of the 'exit' switch to ' lock releasing?  Specifically, I'm looking for solutions that will work in several images of a structure of stacked sequence (I realized there are ways for the three lights without using a structure of stacked sequence, but I'm not interested in doing).

    Any help would be greatly appreciated!  Thank you!

    Something where you're looking at a sequence of steps, you really recommended using a state machine architecture.  (Search the forums for examples).

    Having several structures event with cases duplicated in different settings of a structure of stacked sequence (it would be a little better if you used a structure rather flat sequence), only to request trouble on the road.

  • Combine several images into a clip 10 EP

    Is it possible to combine several images into a single element? For example, I have 50 stills from a video track, which each is a clip, and I would like to combine them into a single clip out of them so I can adjust the opacity without having to adjust each of 50 clips individually. Any information is welcome. Thank you.

    There are several ways to do it, but it is the simplest.

    Place them on the timeline, then use Share/computer/AVI with DV preset for their release in a video file.

    Remove pictures from your timeline and replace it with the video.

  • How to increase the frequency of sampling of several sensors via RS - 485 and writing files of measure?

    I have a vi that:

    -Locate the USB port that RS485 communication device is connected

    -sends a command to each sensor

    -reads a response from each sensor

    -performs a calculation on the answer

    -saves the response to a file of measure

    I used a flat sequence to query each sensor.  I am trying to find a way to modify this vi in order to increase the frequency of sampling on the sensors.  Currently, it takes 2000ms for question 4 sensors and write tot the measures file.  Anyone have any ideas on how to speed up by programming?  I am concsidering on the purchase of a device USB DAQ (USB6000) and rewriting of the vi.  I was wondering if there was some tweek I caould make on the vi.

    Thank you!

    I meant put the time-out on the line, then the reading will be either timeout after 200ms or read the 2 bytes.  Whichever is faster.  Then deletes this 200ms waiting you.  I have attached your vi to show you what I wanted.  I did not notice that it is a hardware or wither then you might want to look in the data acquisition functions.  It will clean up your code and are very easy to use.

  • Batch 'Place' gets off center after several images

    It's kind of hard to explain.  I'm trying to place a border and a watermark on the multiple images using the place command.  The image I use to place is a file .psd with a transparent background.  The main images are tiff files.  The problem is, that after a number of images that change, the placed image (border/watermark) gets biased by a few pixels every time and I find myself with a border of offset to the right.  How can I fix?  Here is my method:

    1. action to create

    2. resize the image for 300 DPI 1200x1800px.

    3. "set" border/watermark image above the main image.  Central position is 600px 1200px.  100.1% to each side

    4. Flatten Image

    5. sharpen

    6 close action

    7. I can select several images via the bridge and go to 'Batch' or 'Processor of Image' and run it.

    8. in several images, the placed image "slips" to the right by a pixel or two each image.

    Y at - it something I'm doing wrong here?  The placed image is the same size and orientation as the original images.

    Before your flatten step you can then select the layer: -.

    Layer - align layers to selection - vertical centers
    Layer - align layers to selection - horizontal centers

    This should make sure that it is in the Center.

  • Combination of several images, why is it not as easy as it sounds.

    I try to combine several images but can't seem to get started, stuck in the process of initial layer on PS CC, is it possible that the instructions are not up-to-date with the program?

    Hi David

    After you open your files in PS in the form of layers, you are then able to make a layer mask.

    It's pretty easy way, you don't know where you get stuck.

    ~ Rohit

  • Action to combine separate images and alpha channels

    I have a sequence of images 200 + each with a separate file, corresponding alpha channel which should be recombined in photoshop. Ideally, I would like to load each image as a layer and the corresponding alpha image as a mask to this layer, and then save the entire file as a .tiff.

    The files are in the order IE results)

    Image_1

    Image_1_alpha

    Image_2

    Image_2_alpha

    Image_3

    Image_3_alpha

    ...

    I am familiar with the actions and batch processing, but something of this magnitude is beyond me. I think there should be some kind of custom script or action. Ideas and help is appreciated!

    So I sort of found a work around that is not as intuitive, but works using measures.

    Basically, I opened a pair of side-by-side images in PS it is)

    Image_1

    Image_1_alpha

    and performed an action where I copied the image alpha basically and pasted as a mask for color image. I then added a record and double closure order to close both files.

    If I open all my files-by-side in sequence and perform the action that I can treat all my files but need to manually run the action rather than use a drop or a lot.

  • SCRIPT TO IMPORT SEVERAL IMAGES PLACES... AND MULTIPLE IMAGES IN SINGLE OUTPUT PDF.

    Anyone got a script to import several images placed in CS4? or is it possible in CS5?

    and we can out of the multiple layers in a single PDF in illustrator?  Or several layers in single format JPEG from illustrator with a single command instead to save individually on each page... would be a huge timesaver for me.

    Currently I pulled out each layer individually filled then right-click on these JPEG output files in the output folder and choose "combine taken supported files in acrobat... "to create a unique acrobat...

    I also that to be able to CTRL click multiple layers and go save as... only these layers be saved on...

    And so add something in the Save to output PDF save the Layers dialog box to multiple pages would be a useful time saver...

    In CS 4 and CS 5, you can drag and drop FRO m the finder or bridge, and I suppose that any other viewer of similar type, multiple number of image files to a document. You can configure the bridge so that you can see the bridge and your document at the same time for this purpose.

    If you drag and drop files are linked, if you drag while holding down the SHIFT key, then the files will be incorporated.

    ID and PS CS 5 have a minijonction who works the way sam but is actually a Panel and will stay at the front.

    I have separate images but they import on the other.

  • rendering image via the script get me uknown messege

    Hi all 2, maybe someone knows and can help me, what means of alert message and why it showing on 2 of my 7 work computers (all PC's have after effects cs5 but why only on two display this message?), when I try to make the current image via my script. My script - rendered the current image in the png file (and at this point after effect a bug and adding numbers 00000 filename so I need to find my rendered file and fix bug of file name and import file back), so when I see this message my script does not work (AE render the file, but the incorrect file name and my script is unable to import it to AE)

    PS to make the current image I create my own preset (with hands) for the output module based on the png sequence

    error.PNG

    THX

    Hi guys, I understand, the problem in my script make part, first of all I have the code to save the current image

    myProj.renderQueue.item (1) .outputModule (1) mpfprojectdir\dev10\src\csharp\projectbase.file = File (DesktopPath + "\\temp\\" + "_" + myLayerName); and it gives me error, so I fixed this alert message by

    ("myProj.renderQueue.item (1) .outputModule (1) mpfprojectdir\dev10\src\csharp\projectbase.file = File(DesktopPath+"\\1111\\"+"ltp"+"_"+myLayerName+"[###].png ");

    [#] .png - it's a key, thx to all!

  • How to combine several libraries in a library complete?  And this new global all0 library can be an external hard drive?

    How to combine several libraries in a library complete?  And this new global all0 library can be an external hard drive?

    1. click here for more information.

    2. Yes, if this disk contains a partition image or the drive Mac OS Extended format.

    (142356)

  • sequence JPEG 1080 p made from several images stretched or shrunk to fit.

    I just shot a period of time, but some of them has been digitally enlarged. With zoom images are very low resolution. How can I create a sequence of JPEG images 400 ranging from 800 p up to 4 k where they are all size to adapt to 1080 p and are stretched to fit across (no black bars). Is this possible?

    Use a Photoshop action for batch resize all the images the same width and a save to a new folder.  You can also use Lightroom.

  • Script to record an action that will convert the sRGB to CMYK file, then use the action in a script to support the process of a folder full of images?

    Is it possible to save an action to convert from sRGB to CMYK, then use the action in a script to support the process of a folder full of images?

    Do action, and run as a batch of PS (file > Automate > batch), or bridge (Tools > Photoshop > batch).

    Pay special attention to all the 'destination', 'save' and 'close' steps. You want to save a copy without overwriting the original, which can easily happen.

  • Disable hierarchy via Action Script Validations

    Hello! Is it possible for me to stop a validation on a hierarchy via Action Script? I validation in real-time in place that prevents users from making any changes to a node that has a custom property 'Prop_Source is System ". However, on a daily basis, I need to make updates/ChangeProp to these nodes of 'System '. So I need to turn off validation to do and then turn it back on once I finished the lot running load. If this can be done through Script of Action, you have any suggestions on what I can do through the system so that we don't have to do it manually from the client application Web DRM? Thank you!!

    Add an additional condition to the validation to allow batch users to perform the update. In this way only the batch user will be able to update this field and you will not have to turn on and outside validation.

  • How can I apply an action to several images in CS5?

    How can I automatically apply an action to several images in CS5?

    Hello, welcome to the forum.

    If you are talking about a Photoshop action, you can use bridge, select the files and use the tools > Photoshop > batch, or, if you need also to save in different formats, tools > Photoshop > image processor.

  • Place MULTIPLE image import... and "Save as...". "several layers in multipage PDF

    Hello

    just a few suggestions, I would like to see to speed to the top of my game and exit...

    I would like to import several images placed in illustrator CS4. Place of dialog box open and select several images for placement.

    regarding the output record under...

    • We can output from multiple layers into a single PDF in illustrator?  Or several layers in single format JPEG from illustrator with a single command instead to save individually each layer... would be a huge timesaver for me. I create different works on different layers...

    • Currently I pulled out each layer individually filled then right-click on these JPEG output files in the output folder and choose "combine taken supported files in acrobat... "to create a unique acrobat... I would do things in Illustrator "save to PDF" dialog box. Add something in the Save to output PDF save layers to a single PDF as dialog box several pages would be a useful time saver...

    • I would also like to be able to CTRL click several layers and go ' Save as... '. "only these layers be saved on...

    Output of layers multiple to several files seems to be a step backward. I guess you used several layers because that Illustrator had no feature of multiple pages or multiple-work plan. It does now, your request is rendered null and void.

Maybe you are looking for

  • Is it possible to get a notes iOS app 9 to 10.8 Cougar?

    My mac is OSX 10.8.5 Mountain Lion, and I want as my notes app to sync with my devices running iOS 9. Not at all, or is the new notes application limited to El Capitan? Thank you!

  • Qosmio G30 - no sound output HDMI with Plasma

    Hello I tried to coonect my g30 with a Plasma TV, I get that video without sound I changed my defult for digital output device (SPDIF Out) device, but it did not help I don't have that in playback devices is:Speakers / headphonesDigital output device

  • Motherboard will fit Satellite L650-12 q?

    The graphic chipset of my L650-12 q died so need to replace the motherboard. I know that the road would be easy to buy the same Board to replace, but its out of my budget atm if someone know what another mobo fit in the case. I don't mind having to c

  • Web site on my new iMAC 10.10 Editor?

    I used to use Dreamweaver on my old PowerMac, but recently had to buy a new iMAC - which version of Dreamweaver can I use on my new iMAC 10.10? I'll be able to get a drive or should I join Adobe? Will be the transition / learning curve easy for a for

  • Extract/Scan for numbers of several lines of strings

    Hi all I want to extract (data) numbers obtained from an acquisition of series that will be shown in several online channels: $# pressure 20 ! @temperature 100 #voltage 1.2 I want to extract 20 100 and 1.2 so that I can do more than manipulation of d