![]() |
Adobe Photoshop SDK |
|
PSPixelMap Struct Reference Describes a block of pixels for display purposes. More...
Detailed DescriptionDescribes a block of pixels for display purposes. Used in DisplayPixelsProc. Version 1 10/14/1997 Version 2 03/22/1999 Version 3 05/2012 Field Documentation
Set to 1. Future versions of Photoshop may support additional parameters and will support higher version numbers for The bounds for the pixel map.
The mode for the image data. The supported modes are grayscale, RGB, CMYK, and Lab. See Image Modes for values. Additionally, if the mode of the document being processed is DuotoneMode or IndexedMode, you can pass
The offset from one row to the next of pixels.
The offset from one column to the next of pixels.
The offset from one plane of pixels to the next. In RGB, the planes are ordered red, green, blue; in CMYK, the planes are ordered cyan, magenta, yellow, black; in Lab, the planes are ordered L, a, b.
The address of the byte value for the first plane of the top left pixel. A pixel mask to use for matting correction. Can be specified in all modes except indexed color. For example, if you have white matted data to display, you can specify a mask in this field to remove the white fringe. This field points to a PSPixelMask structure with a maskDescription that indicates what type of matting needs to be compensated for. If this field is NULL, Photoshop performs no matting compensation. If the masks are chained, only the first mask in the chain is used. Depth of data in the mask must match the depth in the color channels A pointer to a chain of kSimplePSMask, kBlackMatPSMask, kWhiteMatPSMask, and kGrayMatPSMask all operate such that 255=opaque and 0=transparent. kInvertPSMask has 255=transparent and 0 = opaque. Depth of data in the mask must match the depth in the color channels
The phase of the checkerboard with respect to the top left corner of the PSPixelMap.
The phase of the checkerboard with respect to the top left corner of the PSPixelMap.
Options for color management. See
Bit depth of each image channel. The documentation for this struct was generated from the following file: |