Adobe photoshop cs2 사용자 설명서
752
ADOBE PHOTOSHOP CS2
User Guide
3
Click the Choose button to select a destination directory for your files.
4
Choose data sets to export.
5
(ImageReady) In the Save As text box, choose an export format and set the format-dependent export parameters.
6
Click OK.
Note: When exporting to SWF format, you can see multiple images in one HTML file. This is useful for quick visual
scans. For instance, you can check whether text was truncated, or choose a version from multiple data sets you’ve
exported to one file.
scans. For instance, you can check whether text was truncated, or choose a version from multiple data sets you’ve
exported to one file.
Importing data sets from external files
You can quickly create a large number of data sets by creating an external text file that contains all the variable infor
mation and loading that file into a PSD document containing variables. One good way to accomplish this is to enter
your data into a text file or Microsoft Excel spreadsheet and then export it to a tab or comma-separated file.
mation and loading that file into a PSD document containing variables. One good way to accomplish this 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):
by itself in your file):
Va r i a b l e Na m e 1 < s e p > Va r i a b l e Na m e 2 < s e p > < s e p > Va r i a b l e Na m e N < n l >
Va l u e 1 - 1 < s e p > Va l u e 2 - 1 < s e p > < s e p > Va l u e N - 1 < n l >
Va l u e 1 - 2 < s e p > Va l u e 2 - 2 < s e p > < s e p > Va l u e N - 2 < n l >
Va l u e 1 - M < s e p > Va l u e 2 - M < s e p > < s e p > Va l u e N - M < n l >
All the variable names are listed on the first line, in the order that the values are given in subsequent lines. Each subse
quent line represents one data set, with the values for each variable given.
quent line represents one data set, with the values for each variable given.
External text file syntax elements
<sep>
Either a comma-separated (CSV) or a
tab (tab-delimited) file that separates
each variable name or value.
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.
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 ”).
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).
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.
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: