|
Getting Started
SDK API Reference
SDK API Features
Other Documentation
|
|
|
Format Flags for PIFmtFlagsPropertyA set of flags that controls the operation of the file format plug-in.
More...
|
Format Flags for PIFmtFlagsProperty |
#define | PIFmtReadsAllTypesFlag 0 |
| DEPRECATED.
|
#define | PIFmtSavesImageResourcesFlag 1 |
| Controls whether Photoshop adds the image resources to the file’s Mac OS resource fork.
|
#define | PIFmtCanReadFlag 2 |
| Indicates that the plug-in can read files, when the flag is TRUE.
|
#define | PIFmtCanWriteFlag 3 |
| Indicates that the plug-in can write files, when the flag is TRUE.
|
#define | PIFmtCanWriteIfReadFlag 4 |
| Indicates that plug-in can write the file if the plug-in originally read the file, when the flag is TRUE.
|
#define | PIFmtCanWriteTransparency 5 |
| Indicates that the plug-in supports saving the transparency index of indexed color image or saving transparency as a first alpha channel for other color modes, when the flag is TRUE.
|
#define | PIFmtCanCreateThumbnail 6 |
| Indicates that the plug-in can create a Thumbnail, when the flag is TRUE.
|
#define | PIFmtCanWriteSpotChannel 7 |
| Indicates that the plug-in can save spot channels when the flag is TRUE.
|
Detailed Description
A set of flags that controls the operation of the file format plug-in.
Define Documentation
#define PIFmtReadsAllTypesFlag 0 |
#define PIFmtSavesImageResourcesFlag 1 |
Controls whether Photoshop adds the image resources to the file’s Mac OS resource fork.
If FALSE, Photoshop adds the image resources to the file’S Mac OS resource fork but this is not be portable to other platforms.
Resources besides image data, such as printing information, pen tool paths, and so on, are known as image resources. The plug-in format has the option of taking responsibility for these resources by reading and writing a block of data containing the image resources.
#define PIFmtCanReadFlag 2 |
Indicates that the plug-in can read files, when the flag is TRUE.
#define PIFmtCanWriteFlag 3 |
Indicates that the plug-in can write files, when the flag is TRUE.
#define PIFmtCanWriteIfReadFlag 4 |
Indicates that plug-in can write the file if the plug-in originally read the file, when the flag is TRUE.
#define PIFmtCanWriteTransparency 5 |
#define PIFmtCanCreateThumbnail 6 |
Indicates that the plug-in can create a Thumbnail, when the flag is TRUE.
Set the flag only when the plug-in does not need to query for open parameters./n/n
#define PIFmtCanWriteSpotChannel 7 |
Indicates that the plug-in can save spot channels when the flag is TRUE.
|
|