- Photoshop User Guide
- Introduction to Photoshop
- Photoshop and other Adobe products and services
- Work with Illustrator artwork in Photoshop
- Work with Photoshop files in InDesign
- Substance 3D Materials for Photoshop
- Photoshop and Adobe Stock
- Use the Capture in-app extension in Photoshop
- Creative Cloud Libraries
- Creative Cloud Libraries in Photoshop
- Use the Touch Bar with Photoshop
- Grid and guides
- Creating actions
- Undo and history
- Photoshop on the iPad
- Photoshop on the iPad | Common questions
- Get to know the workspace
- System requirements | Photoshop on the iPad
- Create, open, and export documents
- Add photos
- Work with layers
- Draw and paint with brushes
- Make selections and add masks
- Retouch your composites
- Work with adjustment layers
- Adjust the tonality of your composite with Curves
- Apply transform operations
- Crop and rotate your composites
- Rotate, pan, zoom, and reset the canvas
- Work with Type layers
- Work with Photoshop and Lightroom
- Get missing fonts in Photoshop on the iPad
- Japanese Text in Photoshop on the iPad
- Manage app settings
- Touch shortcuts and gestures
- Keyboard shortcuts
- Edit your image size
- Livestream as you create in Photoshop on the iPad
- Correct imperfections with the Healing Brush
- Create brushes in Capture and use them in Photoshop
- Work with Camera Raw files
- Create and work with Smart Objects
- Adjust exposure in your images with Dodge and Burn
- Photoshop on the web beta
- Common questions | Photoshop on the web beta
- Introduction to the workspace
- System requirements | Photoshop on the web beta
- Keyboard shortcuts | Photoshop on the web beta
- Supported file types | Photoshop on the web beta
- Open and work with cloud documents
- Apply limited edits to your cloud documents
- Collaborate with stakeholders
- Cloud documents
- Photoshop cloud documents | Common questions
- Photoshop cloud documents | Workflow questions
- Manage and work with cloud documents in Photoshop
- Upgrade cloud storage for Photoshop
- Unable to create or save a cloud document
- Solve Photoshop cloud document errors
- Collect cloud document sync logs
- Share access and edit your cloud documents
- Share files and comment in-app
- Workspace
- Workspace basics
- Preferences
- Learn faster with the Photoshop Discover Panel
- Create documents
- Place files
- Default keyboard shortcuts
- Customize keyboard shortcuts
- Tool galleries
- Performance preferences
- Use tools
- Presets
- Grid and guides
- Touch gestures
- Use the Touch Bar with Photoshop
- Touch capabilities and customizable workspaces
- Technology previews
- Metadata and notes
- Touch capabilities and customizable workspaces
- Place Photoshop images in other applications
- Rulers
- Show or hide non-printing Extras
- Specify columns for an image
- Undo and history
- Panels and menus
- Position elements with snapping
- Position with the Ruler tool
- Web, screen, and app design
- Image and color basics
- How to resize images
- Work with raster and vector images
- Image size and resolution
- Acquire images from cameras and scanners
- Create, open, and import images
- View images
- Invalid JPEG Marker error | Opening images
- Viewing multiple images
- Customize color pickers and swatches
- High dynamic range images
- Match colors in your image
- Convert between color modes
- Color modes
- Erase parts of an image
- Blending modes
- Choose colors
- Customize indexed color tables
- Image information
- Distort filters are unavailable
- About color
- Color and monochrome adjustments using channels
- Choose colors in the Color and Swatches panels
- Sample
- Color mode or Image mode
- Color cast
- Add a conditional mode change to an action
- Add swatches from HTML CSS and SVG
- Bit depth and preferences
- Layers
- Layer basics
- Nondestructive editing
- Create and manage layers and groups
- Select, group, and link layers
- Place images into frames
- Layer opacity and blending
- Mask layers
- Apply Smart Filters
- Layer comps
- Move, stack, and lock layers
- Mask layers with vector masks
- Manage layers and groups
- Layer effects and styles
- Edit layer masks
- Extract assets
- Reveal layers with clipping masks
- Generate image assets from layers
- Work with Smart Objects
- Blending modes
- Combine multiple images into a group portrait
- Combine images with Auto-Blend Layers
- Align and distribute layers
- Copy CSS from layers
- Load selections from a layer or layer mask's boundaries
- Knockout to reveal content from other layers
- Selections
- Get started with selections
- Make selections in your composite
- Select and Mask workspace
- Select with the marquee tools
- Select with the lasso tools
- Adjust pixel selections
- Move, copy, and delete selected pixels
- Create a temporary quick mask
- Select a color range in an image
- Convert between paths and selection borders
- Channel basics
- Save selections and alpha channel masks
- Select the image areas in focus
- Duplicate, split, and merge channels
- Channel calculations
- Get started with selections
- Image adjustments
- Replace object colors
- Perspective warp
- Reduce camera shake blurring
- Healing brush examples
- Export color lookup tables
- Adjust image sharpness and blur
- Understand color adjustments
- Apply a Brightness/Contrast adjustment
- Adjust shadow and highlight detail
- Levels adjustment
- Adjust hue and saturation
- Adjust vibrance
- Adjust color saturation in image areas
- Make quick tonal adjustments
- Apply special color effects to images
- Enhance your image with color balance adjustments
- High dynamic range images
- View histograms and pixel values
- Match colors in your image
- Crop and straighten photos
- Convert a color image to black and white
- Adjustment and fill layers
- Curves adjustment
- Blending modes
- Target images for press
- Adjust color and tone with Levels and Curves eyedroppers
- Adjust HDR exposure and toning
- Dodge or burn image areas
- Make selective color adjustments
- Adobe Camera Raw
- Camera Raw system requirements
- What's new in Camera Raw
- Introduction to Camera Raw
- Create panoramas
- Supported lenses
- Vignette, grain, and dehaze effects in Camera Raw
- Default keyboard shortcuts
- Automatic perspective correction in Camera Raw
- Radial Filter in Camera Raw
- Manage Camera Raw settings
- Open, process, and save images in Camera Raw
- Repair images with the Enhanced Spot Removal tool in Camera Raw
- Rotate, crop, and adjust images
- Adjust color rendering in Camera Raw
- Process versions in Camera Raw
- Make local adjustments in Camera Raw
- Image repair and restoration
- Image enhancement and transformation
- Drawing and painting
- Paint symmetrical patterns
- Draw rectangles and modify stroke options
- About drawing
- Draw and edit shapes
- Painting tools
- Create and modify brushes
- Blending modes
- Add color to paths
- Edit paths
- Paint with the Mixer Brush
- Brush presets
- Gradients
- Gradient interpolation
- Fill and stroke selections, layers, and paths
- Draw with the Pen tools
- Create patterns
- Generate a pattern using the Pattern Maker
- Manage paths
- Manage pattern libraries and presets
- Draw or paint with a graphics tablet
- Create textured brushes
- Add dynamic elements to brushes
- Gradient
- Paint stylized strokes with the Art History Brush
- Paint with a pattern
- Sync presets on multiple devices
- Text
- Filters and effects
- Saving and exporting
- Color Management
- Web, screen, and app design
- Video and animation
- Printing
- Automation
- Content authenticity
- Photoshop 3D
Data-driven graphics make it possible to produce multiple versions of an image quickly and accurately for print or web projects. For example, you can produce 100 versions of a web banner with different text and images, all based on a template design.
Follow these general steps to create graphics from templates and data sets:
Create the base graphic to use as the template.
Use layers to separate the elements that you want to change in the graphic.
Define variables in the graphic.
Variables specify the parts of the image that change. (See Define variables.)
Create or import the data sets.
You can create the data sets in the template, or import them from a text file. (See Define a data set and Creating data sets in external files.)
Preview the document with each data set.
To see how your final graphics will look, you can preview before you export all the files. (See Preview or apply a data set.)
Generate your graphics by exporting them with the data.
You can export them as Photoshop (PSD) files. (See Generate graphics using data sets.)

A. Source file template B. User defines layers as variables. C. Different versions of the image can be created, each with a different variable data set.
Define variables
You use variables to define which elements in a template change. You can define three types of variables. Visibility variables show or hide the content of a layer. Pixel Replacement variables replace the pixels in the layer with pixels from another image file. Text Replacement variables replace a string of text in a type layer.
GoLive recognizes all text and visibility variables, but not Pixel Replacement variables.

A. Visibility variable B. Pixel Replacement variable C. Text Replacement variable
You cannot define variables for the Background layer.
-
Choose Image > Variables > Define.
-
Select a layer from the Layer pop‑up menu that contains the content you want to define as a variable.
-
Select one or more types of variables:
Visibility
Shows or hides the content of the layer or the layer group.
Pixel Replacement
Replaces the pixels in the layer with pixels from another image file.
Text Replacement
Replaces a string of text in a type layer.
-
Do one of the following:
Choose Name and enter a name for the variable. Variable names must begin with a letter, underscore, or colon and cannot contain spaces or special characters (except for periods, hyphens, underscores, and colons).
Choose an existing variable from the Name pop‑up menu to link this layer to. Layers linked to the same variable are shown next to the Name menu, along with the link icon.
-
For Pixel Replacement variables, set the following options.
Choose a method for scaling the replacement image: Fit scales the image so that it fits in the bounding box (which may leave parts of the bounding box empty), Fill scales the image so that it fills the bounding box entirely (which may cause the image to extend beyond the bounding box), As Is applies no scaling to the image, and Conform scales the image non-proportionally so that it fits in the bounding box.
Click a handle on the alignment icon
to choose an alignment for placing the image inside the bounding box. (This option is not available for Conform.)
Select Clip To Bounding Box to clip areas of the image that do not fit in the bounding box. This option is available only when the Fill or As Is replacement method is selected. (This option is not available for Conform.)
-
To define variables for another layer, choose a layer from the Layer pop‑up menu. An asterisk appears next to the name of a layer that contains variables. You can use the navigation arrows to move between layers.
-
Click OK.
Rename a variable
-
Choose Image > Variables > Define.
-
Choose the layer that contains the variable from the Layer pop‑up menu.
-
To rename the variable, enter a name in the Name text box. Variable names must begin with a letter, underscore, or colon and cannot contain spaces or special characters (except for periods, hyphens, underscores, and colons).
-
To remove the variable, deselect it.
Define a data set
A data set is a collection of variables and associated data. You define a data set for each version of the graphic that you want to generate.
-
Do one of the following:
Choose Image > Variables > Data Sets.
If the Variables dialog box is open, choose Data Sets from the pop‑up menu at the top of the dialog box, or click Next.
Note:You must define at least one variable before you can edit the default data set.
-
Click the New Data Set button
.
-
Select a variable from the Name pop‑up menu or the list at the bottom of the dialog box.
-
Edit the variable data:
For Visibility variables
, select Visible to show the layer’s content or Invisible to hide the layer’s content.
For Pixel Replacement variables
, click Select File and select a replacement image file. Click Do Not Replace before the data set is applied to leave the layer in its current state.
Note:Do Not Replace does not reset the file to its original state if another replacement has been applied previously.
- For Text Replacement variables
, enter a text string in the Value text box.
-
Define additional data sets for each version of the graphic you want to generate.
You can edit, rename, or delete the data set later by first choosing it from the Data Set pop‑up menu and editing its options. Use the arrow icons to move between data sets. Click the Delete icon to delete a data set.
Preview or apply a data set
You can apply a data set’s contents to the base image while leaving all the variables and data sets intact. This changes the look of the PSD document to contain the values of the data set. You can also preview how each version of your graphic will look with each data set.
Applying a data set overwrites your original document.
-
Choose Image > Apply Data Set. Select the data set from the list and preview the image in the document window. To apply the data set, click Apply. Click cancel if you are previewing and don’t want to change the base image.
You can also apply and preview a data set in the Data Set page of the Variables dialog box.
Generate graphics using data sets
After you define variables and one or more data sets, you can output, in batch mode, images using the data set values. You can output images as PSD files.
-
Choose File > Export > Data Sets As Files.
-
Enter a base name for all files generated. You may create your own file-naming scheme if you want.
-
Click the Select Folder button to select a destination directory for your files.
-
Choose data sets to export.
-
Click OK.
Creating data sets in external files
You can quickly create a large number of data sets by creating an external text file that contains all the variable information and loading that file into a PSD document containing variables. One method is to enter your data into a text file or Microsoft Excel spreadsheet and then export it to a tab or comma-separated file.
The syntax of the external text file is as follows (where each line that starts with “Variable” or “Value” is an entire line by itself in your file):
VariableName1<sep>VariableName2<sep> <sep>VariableNameN <nl> Value1-1<sep>Value2-1<sep><sep>ValueN-1<nl> Value1-2<sep>Value2-2<sep><sep>ValueN-2<nl> Value1-M<sep>Value2-M<sep><sep>ValueN-M<nl>
All the variable names are listed on the first line, in the order that the values are given in subsequent lines. Each subsequent line represents one data set, with the values for each variable given.
To create multiple lines of text in a single line of text in a data set, enclose the text in double quotes and insert hard returns in the tab- or comma-separated file where you want the breaks to occur.
External text file syntax elements |
|
---|---|
<sep> |
Either a comma-separated (CSV) or a tab (tab-delimited) file that separates each variable name or value. |
<nl> |
A newline character that ends each data set and can be a line feed, carriage return, or both. |
“true” and “false” |
Allowed values for a visibility variable. |
Spaces |
Spaces around the delimiter are removed when parsing the file; between words in a value string (e.g., two of a kind) spaces are maintained and leading and trailing spaces are maintained if enclosed in double quotes (e.g., “one kind ”). |
Double quotes |
Can be part of a value if preceded by another double quote (e.g., ““B”” would be “B” in the data set). |
If <sep> or <nl> is part of the variable value, then the entire value must be enclosed in double quotes.
All variables defined in the PSD document must be defined in the text file. An error is displayed if the number of variables in the text file does not match the number in the document.
Example data set:
Using a template for flowers that holds variables for tulip and sunflower, you can set up a text file that looks like this:
{contents of FlowerShow.txt} Variable 1, Variable 2, Variable 3 true, TULIP, c:\My Documents\tulip.jpg false, SUNFLOWER, c:\My Documents\sunflower.jpg false, CALLA LILY, c:\My Documents\calla.jpg true, VIOLET, c:\My Documents\violet.jpg
You can use a relative path for the image location if the text file is in the same folder as the image file. For example, the last item in the example can be: true, VIOLET, violet.jpg.
Import a data set
-
Do one of the following:
Choose File > Import > Variable Data Sets.
Choose Image > Variables > Data Sets and click the Import button.
-
Navigate to the text file to import.
-
Set up your import options.
Use First Column For Data Set Names
Names each data set using the content of the first column of the text file (the values for the first variable listed). Otherwise, the data sets are named “Data Set 1, Data Set 2, and so on.”
Replace Existing Data Sets
Deletes any existing data sets before importing.
-
Set the encoding of the text file or leave the setting Automatic.
-
Click OK.
Sign in to your account