True if the image data internally is using the chunky format.
The color profile for the image data. For example, "sRGB IEC61966-2.1". If the color profile is empty,
then the profile of a target document will be used.
The color space (or mode) for the image data.
Number of components per pixel. This is 3 for RGB, 4 for RGBA and so forth.
Number of bits per component. This can be 8, 16, or 32.
Calling this synchronous method will release the contained image data. Doing so will reduce memory usage faster then waiting for the JavaScript garbage collector to run.
pixelData.dispose();
Return pixel information from an PhotoshopImageData instance as a typed array.
The return type depends on the componentSize of the image.
| Component Size | Return type |
|---|---|
| 8 | Uint8Array |
| 16 | Uint16Array |
| 32 | Float32Array |
Example:
const pixelData = await imageObj.imageData.getData()
True if the image data includes an alpha channel.
The height of the image data in pixels.
Memory layout (order) of components in a pixel.
Type of contained data. At the moment only "image/uncompressed" is supported.
The width of the image data in pixels.
Image data is represented by a PhotoshopImageData instance.
Targetfolder
objects/returnobjects