Skip to main content
9 votes
Accepted

How to batch rotate image to make them all landscape?

You can put a Conditional step in an action: use the Insert Conditional... command in the Actions flyout menu: So first create an action to rotate and save a document. Then create an action with a ...
Sergey Kritskiy's user avatar
8 votes

How to batch rotate image to make them all landscape?

Easier solution: Use Bridge, which has a filter for orientation. Drop the images into a folder, click the 'portrait' filter, which selects every portrait image in your folder, then the rotate tool at ...
Lucian's user avatar
  • 29.3k
7 votes
Accepted

How to repeat a gradient multiple times in Illustrator and Photoshop?

Use scripting! As others have answered, you should use scripting. But some of the other solutions here only use RGB, whereas mine uses colours you choose from your document. Also some solutions didn'...
MG_'s user avatar
  • 1,521
7 votes
Accepted

Is it possible to automate this grid pattern in Photoshop?

You say the pattern is binary, but in fact it consists of 4 different "tones": Create a pattern for each of the middle tones (with the circles) by making a selection and choosing Edit > Define ...
Wolff's user avatar
  • 21.2k
6 votes

how is this picture made?

That is basicly a simple Inverted solarization. On Photoshop 1) Open Curves (Ctrl+M) 2) Use a U shaped curve. (The normal solarization is an inverted U shape) But of course you can prepare some ...
Rafael's user avatar
  • 37.6k
6 votes

How to repeat a gradient multiple times in Illustrator and Photoshop?

You can achieve this with Illustrator scripting. Checking the documentation for CC15.3 in the JavaScript Reference PDF under Gradients on page 68. Create the colors: // Create the colors var ...
user9447's user avatar
  • 18.3k
6 votes

Photoshop Local Zoom?

You might find the navigator window helpful. You can pull the window off the tabs, and resize. When you zoom in on the image the navigator displays where you are in the image. It also updates ...
Billy Kerr's user avatar
  • 87.1k
6 votes

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

To my knowledge there's no way to use UV data in Photoshop and I'm not sure it would help with this example because the deformation is quite strong: it'd be a job for vector displacement filter (which ...
Sergey Kritskiy's user avatar
5 votes

How to repeat a gradient multiple times in Illustrator and Photoshop?

This will only work if you are using the gradient as a stroke (as in your question). If you want to repeat the gradient endlessly (as opposed to a specific number of repeats) then you can skip steps 2 ...
Cai's user avatar
  • 40.7k
5 votes
Accepted

Make 15 lines / ticks with Photoshop, each of them rotated of 20°

RotateMe script is as close to Illustrator's Effect > Distor & Transform > Transform as you get with PS. The link seems to be down so code at the bottom of this answer ↓ Alternative method ...
Joonas's user avatar
  • 15.5k
5 votes

How to repeat a gradient multiple times in Illustrator and Photoshop?

Based on the Illustrator JS manual I've come up with the code below. This code does exactly what you want: Creates a gradient with two color stops: black and white Repeats it five times Applies it as ...
PieBie's user avatar
  • 4,376
5 votes
Accepted

Replacing a smart object in bulk with Photoshop's variable data or scripts

I found this page that has an answer that looked close to what you're looking for, I modified it to work with the latest version and to hopefully fit your needs better. Here's how to use it: Save the ...
Circle B's user avatar
  • 3,268
4 votes

Can I add 'Export As' to an action script?

Not quite sure that you can add that exact option to an action. But here's what you can do instead: Go to File -> Export -> Export Preferences then change your preferences to something like ...
Hanna's user avatar
  • 10.9k
4 votes
Accepted

What is the difference between .jsx and .js?

The scripting engine Adobe uses is called ExtendScript which is a dialect of JavaScript, or more accurately EcmaScript. There are many dialects of JavaScript with different libraries around, and some ...
joojaa's user avatar
  • 58.1k
4 votes
Accepted

Photoshop to SVG path?

This open-source script for Photoshop CS3 or later will convert the currently selected path to SVG code and display it in a dialog text field where you can either save it to a file or copy all or part ...
Mikaeru's user avatar
  • 56
4 votes
Accepted

Explanation of a function line by line for learning purposes!

// make new function named getAllShapeLayersData function getAllShapeLayersData() { // make empty list lyrs (for returning later) var lyrs = []; //if the thing in try fails go to catch ...
joojaa's user avatar
  • 58.1k
4 votes
Accepted

How to automate four-up photo creation

This can easily be automated in Photoshop. Before you begin make sure all your 4 x 6 images are in one folder, and take a note of the folder location. You may wish to split up the job using several ...
Billy Kerr's user avatar
  • 87.1k
3 votes
Accepted

How to delete all pixel layers in Photoshop

This script will loop through all your layers and groups and delete any normal (pixel) layers. It will record the deletions in the history (as a single history state, thanks Joonas) but PLEASE save ...
Cai's user avatar
  • 40.7k
3 votes
Accepted

Photoshop CS6 Scripting - Manipulate Transform Reference Point

This is to get you going. I dug this out form the script listener. rotateCurrentLayer(-10 , 532, 412) function rotateCurrentLayer( angle, X, Y){ var idTrnf = charIDToTypeID( "Trnf" ); var ...
joojaa's user avatar
  • 58.1k
3 votes

Photoshop to SVG path?

I adapted the script I had posted here for illustrator to iterate over all paths in paths panel (but not layer bound masks sorry you need to iterate those separately). // jooExportSVGScaffold.jsx #...
joojaa's user avatar
  • 58.1k
3 votes

Automation of image alignment by detecting bounding box?

Don't know if there's an existing script, but here's how I'd do that. This script will ask for Levels input to define what areas to crop and then crop it. If your scenes are mostly contrast, you can ...
Sergey Kritskiy's user avatar
3 votes
Accepted

Photoshop Automation: Place Logo in corner of image which has the most 'empty space'

Here's a script algorithm: Create a rectangular selection based on logo ratio (square in your example), size: I guess larger than half of a document? Check this rectangular selection against layer ...
Sergey Kritskiy's user avatar
3 votes

Photoshop resize all artboards

Select all artboards - one by one, only Artboards, not content. In Property panel you must see W: 1280 px H:720 px --> turn off the chain between them, and change H: to 700 px
Albizia's user avatar
  • 31
3 votes

I need to create 60 unique framed mirrors for product images, looking for a way to automate

If it's not for print, you might be able to use this Image Framer jquery plugin that I've made. It basically stretches frames around practically any size image. The website (that had been down forever)...
Joonas's user avatar
  • 15.5k
3 votes

Natively run actions for each layer automatically in Photoshop?

Your RemoveFringe() didn't have a closing bracket, plus none of the functions were called. Basically I stripped away the function definitions and just left the important bits: for (var i = 0, l = ...
Sergey Kritskiy's user avatar
3 votes
Accepted

Same procedure for each image in Photoshop: how to speed up the production?

Here are a few posts from GDSE for making an action and batching images by action. And here are YouTube resources for making an action and batching images.
Mr.Online's user avatar
  • 2,043
3 votes
Accepted

How can I get all shape layers where their names include specific word?

Photoshop uses ancient JS engine, something like ES3, so there's no .include(). You can use String.indexOf() instead: if (lyr.name.indexOf("Stitches") !== -1) { //"Stitches" is found in the name }...
Sergey Kritskiy's user avatar
3 votes
Accepted

Exported PNG is heavy sized than generated by Save For Web

I managed to get Photoshop to save an adequately compressed PNG from a script. Using the ScriptingListener plugin. I just copied and pasted the code from the ScriptingListener.log. Obviously the ...
Billy Kerr's user avatar
  • 87.1k

Only top scored, non community-wiki answers of a minimum length are eligible