For positioning text you don't need a bounding box.
I never use bounding boxes for text in PS. I click the text tool without dragging and set the text cursor without a box. Once the text is entered, I can center it vertically or horizontally just like any other shape using the align buttons--assuming I have something to align it to.
I do the same ...
Found instructions for exporting just the actions you need.
View your actions by going to Window > Actions.
If your actions aren't contained in a set, create one by clicking the folder icon at the bottom of the action widget.
Drag the actions you need into the new set.
Make sure you have the action set selected.
From the menu in the Actions widget () ...
You can create your own script if you want, here's a simple one:
var Name = app.activeDocument.name.replace(/\.[^\.]+$/, '');
var Ext = decodeURI(app.activeDocument.name).replace(/^.*\./,'');
if(Ext.toLowerCase() != 'psd') return;
var Path = app.activeDocument.path;
var saveFile = File(Path + "/" + Name +"....
This could be a good time to introduce scripting and the script listener to your tool set. While a plugin is fine you might have some other ideas later where this might help. So here is my quickly clobbered together script. To use this change the setup part and put this in a jsx file (and then drag an drop on Photoshop for instance):
// setup preferences
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 condition. There's a rule If Current Document Is Landscape
so Then Play Action will remain None and Else Play Action will be your rotate & save action.
I have made a limited (no support for LAB, HSB or spot color at the moment) python aco -> text dumper. The script itself is a one off quickly done one so you need to change the file name to read or name your out file test.aco:
# -*- coding: utf-8 -*-
# quick script no warranties whatsoever
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 the top.
As I mentioned in the comments, you should give some more clarity in your question to get a truly tailored answer.
But, from what you stated above, I can help you break down your seemingly 6 steps into 3:
1) Copy a layer/layers
2) Make a new Document
3) place/drag them into the new document
Step 1: Duplicate
Do you know about the Duplicate ...
Adobe provides a program to make scripts called ExtendScript Toolkit, which was most likely bundled with your install of Photoshop. On my computer it's in C:\...
You can use File->Scripts->Export layers to files to create PDFs. Choose PDF under File type in the Export Layers to Files dialog box. It's easy to miss since it's the option just above PSD.
As far as being slow... Don't know how big your image is or how many layers there are, but on an old (2008) MacBook Pro it exported a 2848x4288 pixel image's ...
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't produce even colour at the wraparound point, or had too many and/or overlapping gradient stops, so my script addresses those issues.
To use it, select 2 or ...
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 immediately. I often use this functionality when retouching.
You can also drag the square around the navigator window, and the main window will move to that position....
Create the colors:
// Create the colors
var startColor = new RGBColor();
startColor.red = 0;
startColor.green = 100;
startColor.blue = 255;
var middleColor = new RGBColor();
middleColor.red = 252;
That is basicly a simple Inverted solarization.
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 masking to controll the result.
If the case I would prepare a mask
Copying the image.
Pasting it into a new layer mask.
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 Photoshop also doesn't have). If I had a task like this I'd go 3d and since you have Blender as a tag, here's a little breakdown of how I'd approach this:
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 Pattern. (In this example I've made the squares 32x32 px)
Convert the image you want to transform to grayscale and scale it down to a fitting size.
Let's take ...
No. There's no way to change it.
You could simply look at the History Panel and click the step before you ran the script. Or, create snapshots (via History panel menu) and then click the snapshot you want.
Keyboard shortcuts are your friend.
Remember, if you're on a PC, basically any command button in a short cut will be your Ctrl button.
I have a very similar job editing photos for an ecommerce company, and shortcuts cut down the amount of time the job would've taken exponentially.
Here's how I'd ...
It looks like I can use prompt to get a value:
var value = prompt("Type in the name of the file", "filename.png");
If we run the code in Photoshop,
There's quite a lot you can do with custom scripting. There's a lot to learn and it's got kind of a steep learning curve at first because they have a lot of their own stuff, but it's pretty powerful and flexible.
Here's a list of resources to get you started:...
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 and 3 and use a pattern brush instead of an art brush. In CC you can now use images in brushes so you may be able to rasterize the gradient instead of ...
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 a stroke to the active (selected) element
A more generalistic version can be found below the line.
(1) First we set the desired number of colors and the ...
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 ↓
Using Transform again, Edit → Transform → Again ( Cmd/Ctrl + Shift + T )
If you add Alt to the shortcut keys, it does "Duplicate again".
This should be a lot faster. Instead of copy and pasting into a new file hundreds of times, it does this:
Makes the Background into a Layer.
Reduces the Canvas size down to the cell size.
Slides the Layer around 'under' the Canvas to the correct location.
Does a "Save For Web" essentially the same as your script.
Go to 3 and repeat, then stop when it runs ...
I found a way today that I didn't know, it is partly as Michael Osterhus says, but I didn't really get what he meant to begin with.
You need to write your text with just a single click, not a draggable bounding box. This can be placed wherever you want.
Next step you create a box, I used the Rectangle tool to create a box of the area where I wanted my text ...
I would recommend Imagemagick as the appropriate tool here. It has a high learning curve, but is much faster than Photoshop for this sort of batch processing. The following commands should work:
convert inputFolder/* +append output.png
where inputFolder is a folder containing only the images you're interested in. They should be named in sequence (001, 002, ...