![]() |
Adobe Photoshop SDK |
|
ExportRecord Struct Reference This structure is passed to the Export plug-in module
Detailed DescriptionThis structure is passed to the Export plug-in module See Plug-in Entry Point for an explanation of how the host calls a plug-in. Field Documentation
The host now reports zero for the A pointer to the A pointer the the
The maximum number of bytes Photoshop can free up for a plug-in to use. You can reduce this value during in your
The mode of the image being exported (grayscale, RGB Color, etc.). See Image Modes for values. Your
The width and height of the image in pixels. See ExportRecord::imageSize32 for large document support.
The resolution of the image in bits per pixel per plane. The only possible settings are 1, 8, 16, and 32.
The number of channels in the image. For example, if an RGB image without alpha channels is being processed, this field is set to 3.
The horizontal resolution of the image in terms of pixels per inch. These are fixed point 16-binary digit numbers.
The vertical resolution of the image in terms of pixels per inch. These are fixed point 16-binary digit numbers. The red color table, user only when an indexed color or duotone mode image is being processed. The green color table, user only when an indexed color or duotone mode image is being processed. The blue color table, user only when an indexed color or duotone mode image is being processed. The
The
The
A pointer to the requested image data. If more than one plane has been requested (see
The offset between rows for the requested image data.
The name of the file the image was read from. File-exporting modules should use this field as the default name for saving.
If the plug-in is used to save an image into a file, it should set this field to TRUE to prompt the user to save any unsaved changes when the image is eventually closed. If the plug-in module outputs to a printer or other hardware device, it should set this to FALSE. This is initialized as TRUE. It does not reflect whether other unsaved changes have been made. The bounding box of the current selection. If there is no current selection, this is an empty rectangle. See ExportRecord::selectBBox32 below for large document support.
The signature of the host, provided by the plug-in host. The Photoshop signature is 8BIM. If not NULL, a pointer to a host-defined callback procedure.
When exporting a duotone mode image, the host allocates a handle and fills it with the duotone information. The format of the information is the same as that required by Import modules, and should be treated as a black box by plug-ins.
The currently selected channel; The monitor setup information for the host. A pointer to platform specific data. Not used under the Mac OS. See PlatformData in PITypes.h. Buffer callback suite. Pseudo-Resource callback suite. ProcessEvent callback. DisplayPixels callback. Handle callback suite. ColorServices callback suite.
This direct callback has been replaced by ExportRecord::propertyProcs, but is maintained here for backwards compatibility. Allows the plug-in to drive the interaction through the inner The For documents with transparency, contains the number of planes of data possibly governed by a transparency mask for the current target layer. For documents with transparency, contains 1 or 0 indicating whether the data is governed by a transparency mask.
For documents with transparency, contains the number of layer masks (currently 1 or 0) for which 255 = fully opaque. In Photoshop 3.0.4+, layer masks are not visible to Export modules (i.e. the value is 0) since they are layer properties rather than document properties. For documents with transparency, contains the number of layer masks (currently 1 or 0) for which 255 = fully transparent. In Photoshop 3.0.4+, layer masks are not visible to Export modules (i.e. the value is 0) since they are layer properties rather than document properties. For documents with transparency, contains the number of planes of non-layer data, e.g., flat data or alpha channels. The planes are arranged in that order. Thus, an RGB image with an alpha channel and a layer mask on the current target layer would appear as: red, green, blue, transparency, layer mask, alpha channel. Image Services callback suite.
The width of the tiles. The host sets the width and height of the tiles. This is the best size for the plug-in to work with, if possible. If zero, assume the host has not set the value.
The height of the tiles. The host sets the width and height of the tiles. This is the best size for the plug-in to work with, if possible. If zero, assume the host has not set the value.
The origin point of the tiling system. Property callback suite. The plug-in needs to dispose of the handle returned for complex properties (the plug-in also maintains ownership of handles for set properties. Descriptor suite.
An error reporting string the plug-in can return to the host. If the plug-in returns with result=errReportString then the string stored here is be displayed as: "Cannot complete operation because " + Channel Ports callback suite. The Channel Ports document information for the document being filtered.
PICA basic suite. The method by which all PICA suites are accessed.
Plug-in reference used by PICA. If IndexedColor, and < 256, this is the index of the transparent color (for GIF). ]
Handle containing the ICC profile for the image. (NULL if none.) Photoshop allocates the handle using the Photoshop handle suite. The handle is unlocked while calling the plug-in. The handle is valid from Size of profile. Non-zero if the host can accept or export ICC profiles . If this is zero, the plug-in should not set or dereference
Number of entries in the indexed color table. This should include the transparent index if any. Plug-ins should pad out the color table with black for backward compatibility. Set by the host if the host supports 32 bit plug-in API. Set to nonzero by the plug-in if it is using the 32 bit fields. Size of image in 32 bit coordinates. Replaces Rectangle being returned in 32 bit coordinates. Replaces The bounding box of the current selection returned in 32 bit coordinates. If there is no current selection, this is an empty rectangle. Replaces
Reserved for future use. Set to zero The documentation for this struct was generated from the following file: |