Tag Info

Hot answers tagged

3

Although it's not automatic (you need to adjust it manually for each text), you can use Baseline Shift to 'imitate' a vertical centering:


2

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 ...


2

Check out File > Scripts > Layer Comps to Files. You can export batches of files based on layer comps that way. Layer comps need to be set up first though, but if you are repeating yourself over and over, it is the lesser of 2 evils. If you need more control or a better automated script, you will need to write a custom script to give you that ...


2

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 command 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, ...


2

I know this is an old question, but for people just finding this question, you can automate this without saving separate files for each layer. Select all layers except the background Ctrl + Alt + A (Win) Cmd + Opt + A (Mac) Layer → Rasterize → Layer Style This rasterizes layer styles, vector layers, smart objects, etc. It works for CC and at least as far ...


2

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 ...


2

I am not sure if I understood what you are trying to do. How I don't have enough reputation to comment, I will write this step-by-step answer. Have you tried using an action to do the work? Open any image on photoshop, then create a new action. All you have to do is open the window Actions (option + F9), and click the blank paper icon to create a new ...


2

I had no idea you could script with JavaScript in Photoshop prior to reading @horatio's answer, so I gave it a go. If you're new to scripting (first do some tutorials, then) I recommend stealing as much as you can from one of the scripts that ships with Photoshop, I made use of Layer Comps To Files.jsx (CS6) so I didn't have to look up how to save files ...


2

Photoshop Supports the EXIF Orientation Value and the Windows Photo Viewer does not! You can ignore the EXIF Profile Tag in Photoshop Preferences - File Handling More info: Beware of Rotating Photos in Windows Picture / Photo Viewer! Another surprising detail is that if you decide to perform lossless image rotation (by using the Rotate Clockwise or ...


2

Photoshop has 'Dynamic Shortcuts' for the Character Panel accessible by selecting text and reopening the Character Panel menu to see the hotkeys. This provides hotkeys like Underline (Shift+Ctrl / CMD+U), however there isn't one for 'No Break'. Here is a work around instead. Create an action called 'Apply No Break' and create a keyboard shortcut for it. ...


2

You should try this script that user Johannes graciously shared: http://graphicdesign.stackexchange.com/a/1962/24301 It's basically an improved version of the built-in PS "Export Layers to Files" script that allows (among other things) for saving the layers by their layer name. This will export all layers in your file as they are positioned keeping their ...


2

The script does work if you mess around with it a bit. And yes, joojaa is correct, it is a JSX. Line 2 needs to be changed to an actual destination using slashes instead of backslashes, plus a semicolon at the end. I.e., var destination = "C:/Users/USERNAME/FOLDER/"; You could also alter line 9 to options.quality = 100; if you aren't actually saving ...


1

Next time you could set up a grid and let the artboard and all objects snap to it. To use the grid, choose View > Show Grid. To hide the grid, choose View > Hide Grid. To snap objects to gridlines, choose View > Snap To Grid, (Note: When the View > Pixel Preview option is selected, Snap To Grid changes to Snap To Pixel.) To specify the ...


1

I try to wrap my head around the thought processes where someone builds 150 Photoshop files that are destined for print production. If it's a book, manual, catalog, or something similar you sort of created way more work for yourself by not using proper tools from the start. But then again, maybe there's some reason, I'm not considering, in which you had to ...


1

Writing a plugin sounds like a cool project, but before you do that, know that there is the HUD colour picker. You can assign it's keyboard shortcut to a single key on your Wacom. For brush size and hardness you are already aware that you can hold alt and drag left/right for one and up/down for the other. Assign that to a Wacom key too. For opacity, well, ...


1

Eureka! This script will use active document's width and height as the file name and open the save dialog box with the file name preset for you. Choose a folder and save. var saveOptions = new JPEGSaveOptions( ); saveOptions.embedColorProfile = true; saveOptions.formatOptions = FormatOptions.STANDARDBASELINE; saveOptions.matte = MatteType.NONE; ...


1

The javascript command to hide/show a layer is: activeDocument.artLayers[i].visible = true; The rest is academic: set up an array (or just use your combinatorial algorithm), iterate, toggle visibility, "save as copy".


1

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 () ...


1

If you're using CS6 (cloud version) or CC, the Layers panel allows you to filter the visibility of layers by name. At the moment, filtering isn't something you can record in an action, although it's probably been added to what's scriptable (I've not checked). It does, however, make selective hide/unhide very quick and easy. Change the filter from Kind to ...


1

I don't think it can be done with actions, and I'm not aware of a plug-in that would do what you want, but you should be able accomplish that with scripting. It would help if you knew some javascript. You can find more information here: http://www.adobe.com/devnet/photoshop/scripting.html


1

The easiest method is to place all the individual images into a folder on your desktop then use File > Automate > Contact Sheet II... within Photoshop to select the folder of images and have them arranged into a grid for a single document. I believe the Contact Sheet script may be part of Adobe Bridge for CS6. If you already have everything loaded ...


1

Here's a script I wrote that might work. I've not tested it yet however. centerTextVertically( app.activeDocument.artLayers.getByName( 'Text-Layer-Name' ) ); /** * @param {ArtLayer} textLayer The text layer to apply the vertical centering. */ function centerTextVertically( textLayer ) { if ( textLayer.kind !== LayerKind.TEXT ) { return; // ...


1

To grab the bounding box of the currently selected paragraph text layer: var t = activeDocument.activeLayer.textItem; alert(t.width + ", " + t.height); This is documented in the JavaScript Scripting Reference (TextItem properties are listed starting on page 179)


1

I'd love to be proven wrong on this, but you can't vertically center text in Photoshop automatically. Just like you can't do it in Illustrator. You're stuck with manually adjusting the baseline shift. Here is the inevitable... but you can do this is InDesign. Yes, and it's awesome. But PS and AI are stuck without it. :( EDIT: Dang! I thought ...



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