Questions tagged [photoshop-scripting]

Questions about the automation and extending of functionality through the use of scripts within Adobe Photoshop.

Filter by
Sorted by
Tagged with
0
votes
0answers
21 views

Read options from tool preset and swatches in ExtendScript for Photoshop

In ExtendScript for Photoshop is there a way to read the swatches like name-color and the configuration of a text tool preset? I want to detect the color from some rectangles in the image, get the ...
0
votes
0answers
17 views

How to create type area the size of the selection for Photoshop action

Problem: I can make text area sized by the selection size by converting the selection to work path and making text area out of it. However, when recording action, it will just record the specific size ...
0
votes
0answers
20 views

Automation for Batch-Converting Images for Ecomm - must have square canvas - Ug

First time here and hope this is a good place to ask. Looking for a quick way/automation to convert multiple print quality images (30-70MB) to 1000x1000 pixels at 300 dpi and under 3 MB for use in web ...
0
votes
0answers
35 views

How to make a pixel perfect adjustable outlined circle in Photoshop and also Illustrator, like, the one that Microsoft Paint has, as example?

How to make a pixel perfect adjustable outlined circle (with a simple tool so the circle can be readjusted and newly calculated later) in Photoshop and also Illustrator, like, the one that Microsoft ...
0
votes
1answer
66 views

“File layers” for Photoshop

Does Photoshop have "file layers" like Krita does, i.e. layers whose content automatically updates from a file when that file changes? If not natively, maybe a Photoshop script can get ...
0
votes
1answer
50 views

Photoshop auto-save as PNG

How can I make Photoshop automatically save the image as PNG in the background whenever I make any changes in Photoshop (brush strokes etc.)?
0
votes
0answers
35 views

Make an own adjustment layer in Photoshop

How can I program my own adjustment layer (i.e. non-destructive editing step) in Photoshop? For example in order to run dithering by ImageMagick as a non-destructive editing step within the stack of ...
0
votes
0answers
35 views

Automatically apply external script whenever image changes

While editing an image (i.e. while there's a new version of it every few seconds), I would like to continuously see what the newest version would look like after running an external script on it (for ...
0
votes
2answers
31 views

Is there an automated way to replace several layers with a template layer in Photoshop?

I have a file where there are several "cards" that will be containing text information. All of these cards are exactly the same but have been aligned differently. Unfortunately, I have to ...
0
votes
0answers
32 views

Files from Adobe Bridge to Separate Folders

Asking this again. I still haven't found a solution to this. I have hundreds of images in a folder in bridge. I have tagged them alternatively by colour. The first bunch as Green, the second as Red ...
1
vote
1answer
64 views

Draw a horizontal line with just a click using Adobe Photoshop

I am looking to find a way to draw a horizontal line of full page width on a PNG file with a single click. Thing is I am trying to draw a lot of lines and if I've to click and drag it becomes ...
1
vote
0answers
33 views

How are these this feathered/blurred edges artistic effect made in these graphic illustrations? Scripts? Overlay? [duplicate]

It's been a few years since I've wanted to re-create analog-painterly appearance for a while now and I have yet to find a solution. Speculatively thinking, assuming they may possibly have used some ...
1
vote
0answers
36 views

How can I set up an action to bulk pattern fill that selects the next pattern in the folder automatically?

I tend to work with patterns and have an action to help with this. But, I tend to save my patterns as a .pat file, with anywhere from 10-200 patterns within each .pat file. I am trying to figure out a ...
0
votes
1answer
58 views

Is it possible to automate this grid pattern in Photoshop?

This is a grid pattern created in my country in the sixties, taking binary values for lights and shadows. I couldn't find this anywhere else, or maybe I'm not using the proper words for it. The ...
0
votes
0answers
18 views

Automate splitting of layers (based on Guides…or slice)

Hey guys, I want to use gimp or Photoshop to crop an image into pieces on average. Is there an efficient and fast way? Is there an automated way to split a layer into multiple layers based on the ...
1
vote
1answer
27 views

Saving Batch Files With Slight Hue Adjustments in Photoshop

I have a file with several layers that need to be created with very minor differences in hue and saved. I've created this example for simplicity. I have 2 layers 1 with a red circle, and 1 with a ...
0
votes
0answers
19 views

how to slice one image and export them into individual svg like PS does [duplicate]

In photoshop, we can slice one image into fixed sizes and save for web, so that this sliced parts can be saved into individual file with autogenerated names. Is there a similar way to do that in ...
0
votes
1answer
82 views

Batch replace placeholder image with a perspective warp?

My goal is to be able to batch create a highly scaleable number of "product impression/example" images. What I have is a Photoshop document, which will serve as a template, with 3 layers (ordered ...
0
votes
0answers
25 views

Whitening the background of products at once for my shop [duplicate]

I have over 5000 images in my shop ,I want the backgrounds crystal white, i was wondering of a solution to make that at once rather than doing them individually.
0
votes
2answers
35 views

How do I set the coordinates of a text box in a script?

I am creating a script that will place a text box. I want to place the text box in the upper left corner, or (0,0). When I set the position of the text box to (0,0) in the script the text box is ...
0
votes
0answers
31 views

replace multiple smart layers at every export

Can anyone suggest me a Photoshop extension: That can replace multiple smart layers at every export and can auto-fit the new image to the original dimension of the replaced smart layer so there is no ...
-1
votes
2answers
420 views

How to change Photoshop canvas orientation?

How do I change a canvas orientation from landscape to portrait and vice versa? For instance: There is an option with artboard/page (in AI and PS / ID) to change the orientation, but what I want to ...
0
votes
0answers
43 views

Use prominent color of the logo as foreground color and apply it

I want to select the dominant or prominent color of the logo and use it as a foreground color and apply it in an object and save it. Can it be scripted and automate?
0
votes
0answers
46 views

Scriptlistener Plugin : Catch layers transformation value

I'm making a plugin called PS-Blender where I'm trying to simulate the functionality of Illustrator's blend tool. I've used different text field to measure out the start and end values of positions ...
5
votes
2answers
1k views

How to batch rotate image to make them all landscape?

I have a thousand of pictures of the same fixed scene, but for an unknown reason some of them are vertical, not horizontal. So I would like to batch process all the images and rotate them 90° if the ...
0
votes
1answer
67 views

Render multiple photoshop layers to file automatically. With a twist

I have a question about automating my workflow. I have a photoshop file that consists of a Base Layer with some content that will always be visible. I also have a second category of about 15 layers ...
0
votes
1answer
50 views

How to add a layer style effect especially on a highlighted text?

How can I add an effect on a highlighted text, such as border and other stuff that can be found in Layer styles > Blending options? Example: I have this text right here: https://i.imgur.com/TSTrNFV....
1
vote
1answer
94 views

Photoshop: How to save EXR from script?

Photoshop2020 seems to have EXR support. I can't find in the scripting reference of PS2019 any mention though of how to save EXR files and I also couldn't find a scripting reference for the 2020 ...
0
votes
0answers
19 views

batch composite multiple layers from files in Photoshop

I have files which are named Cube_BACK_#_Diffuse.exr Cube_BACK_#_Specular.exr Cube_BACK_#_GI.exr Cube_FRONT_#_Diffuse.exr Cube_FRONT_#_Specular.exr Cube_FRONT_#_GI.exr and the same thing for ...
3
votes
1answer
91 views

How to automate four-up photo creation

I've got a large number (about 300) of 4x6 photos that I want to reformat by making each into a 2x3 photo, and making one 4x6 composite image from 4 of these. (I want to make them smaller because ...
0
votes
1answer
183 views

Batch processing Photoshop (stitching)

I found this one and I´m not confirm with scripting. But perhaps this would be a part of my search for stitching out of Phase One Capture One 12. Multiple Panorama Automation in Photoshop Capture One ...
0
votes
1answer
92 views

Photoshop, actions or script - create and use pattern

I would like to create a pattern and use that pattern in the same action, but when I go to use fill with pattern, the last manually selected pattern is the one that is used - even if that pattern has ...
0
votes
0answers
26 views

Adobe Extended Script: Any way to localize the promt confirm()? Yes and No should be translated to “Ja” und Nein"

if (!inddLastest.exists) { doc.save(inddLastest); } else { //btnText = { en: "Yes", de: "Ja", fr: "Oui" }; b1 = w.add ("button", undefined, localize (btnText)); var res = confirm("Die ...
1
vote
2answers
148 views

Invert saturation in photoshop

I've been looking for a way to invert the saturation of a photo in photoshop. For example a pixel that is: hsl(42, 100%, 42%) must become hsl(42, 0%, 42%) hsl(42, 0%, 42%) must become hsl(42, ...
1
vote
0answers
252 views

How to record “export as” as an action in Photoshop CC

I'm using Photoshop CC v20.0.7, and I'm trying to record the [file > export > "export as"] as an action. When I hit "record" and try, nothing is recorded in my action sequence, even though the jpg is ...
2
votes
3answers
459 views

Split to layers by color areas in Photoshop automatically

How can I convert an image like this (known as an Object ID pass or Clown Pass in 3d) to a layered file where every layer would be a color blob (using Photoshop only)? I know how to do that manually, ...
0
votes
2answers
625 views

Use Photoshop from command line

Is it possible to use Photoshop.exe from command line for various tasks, such as export PSD files? (I know it's possible with third party tools such as ImageMagick, but here I'm asking specifically ...
0
votes
1answer
86 views

Photoshop Scripting - applying changes only to selected artboards

Having trouble specifically with artboards for Photoshop scripting. What I want it to do: I have a photoshop file with 8 artboards, and I want to apply changes (name changes) to the selected ...
0
votes
1answer
138 views

Issue on returning a variable from an evalScript function

I am working on a CEP HTML panel for Photoshop and I want to check first if there is any opened documents before my panel do what it has to do. So I made something like this into my index.js so to ...
0
votes
1answer
43 views

Communication issue between functions into JS and JSX files

I have made this function into a JS file... function getColors(isPick, isForecolor) { var chosenFunction = 'getColor(' + isPick + ', ' + isForecolor + ')'; csInterface.evalScript(...
1
vote
0answers
23 views

PS scripting - Artboards saveAs

I'm trying to write a script that rename and export several artboards based on user input given in a dialog. The script works for the renaming part, but exporting doesn't work. I tried several ...
4
votes
2answers
169 views

how to create a UV mapping (?) of a texture onto a product photograph based on a calibration pattern

UPDATE: Here you can download high quality images of calibration patterns as well as them printed on socks if anyone wants to give this a go Pardon my lack of vocabulary, this is not my area of ...
0
votes
2answers
160 views

How to warp an image to take shape of truncated pie (controlled by some input parameters)?

I am new to Photoshop/Illustrator. I would like to warp an image like the attached truncated pie. Assuming this truncated pie is part of a circle, then outer radius of curvature should be 15 units ...
0
votes
0answers
38 views

How can I get layer's data using Action Manager, excluding layers with specific layerSet?

I have make this function so to get data of every layer with Bevel and Emboss effect, within a document. Now I am looking for a way to do the same thing, but excluding a specific group (layerSet). ...
0
votes
1answer
175 views

Photoshop JavaScript translation needed

I'm working with a script in Photoshop that will automatically resize all smart objects to their original sizes. I got the script from here. Kudos to Barbara_Ash for directing me to it. The script was ...
0
votes
2answers
121 views

Modifying JSX script to save all images in folder as transparent PNG-24?

So the below script simply loops through a chosen folder, checks canvas size and dimensions and sets them if they're not in a 1:1 aspect ratio, and if they are, leaves them alone. The result is all ...
0
votes
0answers
47 views

Is there a way to automate the merging of groups in photoshop, one by one?

In a file, I have about 10-20 groups of independent layers each. Is there a script/action that identifies each group and merges them one by one? As of now, it takes me a lot of time waiting on a ...
1
vote
1answer
389 views

Batch Photomerge - Only Process Images in Folder with Specific Title

I am using a variant of the script on this Question to batch Photomerge a bunch of panoramic photo sets in different subfolders. However, the way I have my folder directories set up, the script can ...
0
votes
0answers
145 views

How to replace Smart Image with a different graphic WITHOUT using Photoshop?

This Q&A offers a method by using Photoshop to load .js. However, I found this website can achieve this goal without using Photoshop. My question is how this website achieves this goal?
0
votes
0answers
22 views

How could I transform the colored Twitter emoji to Black and White automatically [duplicate]

I am looking for black and white emoji but haven't found too many good ones. One thing I'm thinking is taking the Twitter emoji and converting them to black and white (and grey potentially). One ...

1
2 3 4 5 6