diff --git a/docs/notification-spec.xml b/docs/notification-spec.xml index a9dad38..2923fa1 100644 --- a/docs/notification-spec.xml +++ b/docs/notification-spec.xml @@ -380,9 +380,18 @@ Formats - The "image-data" and "icon_data" hints should be a raw image data structure - of signature (iiibiiay) which describes the width, height, rowstride, has - alpha, bits per sample, channels and image data respectively. + The "image-data" and "icon_data" hints should be a DBus structure + of signature (iiibiiay). The components of this structure are as follows: + + width (i): Width of image in pixels + height (i): Height of image in pixels + rowstride (i): Distance in bytes between row starts + has_alpha (b): Whether the image has an alpha channel + bits_per_sample (i): Must always be 8 + channels (i): If has_alpha is TRUE, must be 4, otherwise 3 + data (ay): The image data, in RGB byte order + + This image format is derived from gdk-pixbuf. The "app_icon" parameter and "image-path" hint should be either an URI