2.2.2.58 Picture

The Picture element specifies the file that contains the picture of the contact. The value of the Picture element SHOULD be a stream that is encoded with base64 encoding. It is defined as an element in the Contacts namespace and is used in ActiveSync command requests and responses as specified in section 2.2.2.

The value of this element is a string data type, as specified in [MS-ASDTYPE] section 2.7.

The value of the Picture element MUST be limited to 48 KB of binary content that is encoded with base64 encoding, or an image size of around 36 KB. Since base64 encoding is nondeterministic, the actual maximum size of the image can vary. If the value of the Picture element exceeds 48 KB of content with base64 encoding, the server MUST return a status error of 6.

Protocol Versions

The following table specifies the protocol versions that support this element. The client indicates the protocol version being used by setting either the MS-ASProtocolVersion header, as specified in [MS-ASHTTP] section 2.2.1.1.2.6, or the Protocol version field, as specified in [MS-ASHTTP] section 2.2.1.1.1.1, in the request.

Protocol version

Element support

2.5

Yes

12.0

Yes

12.1

Yes

14.0

Yes

14.1

Yes

16.0

Yes

16.1

Yes