Package | com.adobe.photoshop.messages |
Class | public class ImageMessage |
Inheritance | ImageMessage ![]() ![]() |
Implements | IMessage |
Language Version : | ActionScript 3.0 |
Runtime Versions : | AIR 1.0, Flash Player 10 |
Property | Defined By | ||
---|---|---|---|
![]() | apiVersion : int | Message | |
bitmapData : BitmapData
The BitmapData that this ImageMessage contains, if any. | ImageMessage | ||
![]() | messageLength : int
The message length of the Photoshop message. | Message | |
![]() | messageType : int
The type of message that IMessage represents. | Message | |
![]() | transactionID : int
The transaction ID of the Photoshop message. | Message |
Method | Defined By | ||
---|---|---|---|
Constructor
| ImageMessage | ||
toStream():ByteArray [override]
Converts the ImageMessage to a serialized format, which can be sent to Photoshop. | ImageMessage |
Constant | Defined By | ||
---|---|---|---|
IMAGE_TYPE_JPG : int = 1 [static]
Defined by the Photoshop API
| ImageMessage |
bitmapData | property |
public var bitmapData:BitmapData
The BitmapData that this ImageMessage contains, if any.
ImageMessage | () | Constructor |
public function ImageMessage()
Constructor
toStream | () | method |
override public function toStream():ByteArray
Converts the ImageMessage to a serialized format, which can be sent to Photoshop. Calling this function may take a small amount of time, since it has to encode the Image to a JPG.
ReturnsByteArray — A ByteArray that contains the raw, serialized format of this ImageMessage.
|
IMAGE_TYPE_JPG | Constant |
public static const IMAGE_TYPE_JPG:int = 1
Defined by the Photoshop API