Confirmed users
180
edits
| No edit summary | |||
| Line 5: | Line 5: | ||
| = Contributors = | = Contributors = | ||
| * Last modified:  | * Last modified: May 12, 2010 | ||
| * Authors: Oleg Romashin (Nokia), Josh Aas (Mozilla) | * Authors: Oleg Romashin (Nokia), Josh Aas (Mozilla) | ||
| * Contributors: Robert O'Callahan (Mozilla) | * Contributors: Robert O'Callahan (Mozilla) | ||
| Line 43: | Line 43: | ||
|       * alpha is used. (That is, 50% transparent red is 0x80800000, |       * alpha is used. (That is, 50% transparent red is 0x80800000, | ||
|       * not 0x80ff0000.) */ |       * not 0x80ff0000.) */ | ||
|      NPImageFormatARGB32_pre = 0x1, | |||
|      /* each pixel is a 32-bit quantity, with |      /* each pixel is a 32-bit quantity, with | ||
|       * the upper 8 bits unused. Red, Green, and Blue are stored |       * the upper 8 bits unused. Red, Green, and Blue are stored | ||
| Line 49: | Line 49: | ||
|      NPImageFormatRGB24      = 0x2,  /* x8r8g8b8 */ |      NPImageFormatRGB24      = 0x2,  /* x8r8g8b8 */ | ||
|      NPImageFormatRGB16_565  = 0x4   /* r5g6b5   */ |      NPImageFormatRGB16_565  = 0x4   /* r5g6b5   */ | ||
|     /* non-premultiplied version of RGBA32 format */ | |||
|      NPImageFormatARGB32     = 0x8, |      NPImageFormatARGB32     = 0x8, | ||
|      /* can be extended */ |      /* can be extended */ | ||