equal
deleted
inserted
replaced
46 uint32_t width, height; |
46 uint32_t width, height; |
47 |
47 |
48 /** Pixel format */ |
48 /** Pixel format */ |
49 uint8_t bit_depth, color_type; |
49 uint8_t bit_depth, color_type; |
50 |
50 |
|
51 /** Number of png_color entries that follow */ |
|
52 uint16_t num_palette; |
|
53 |
51 /** Convenience field for number of bytes per row */ |
54 /** Convenience field for number of bytes per row */ |
52 uint32_t row_bytes; |
55 uint32_t row_bytes; |
|
56 |
|
57 /** Palette entries, up to 256 entries used */ |
|
58 png_color palette[PNG_MAX_PALETTE_LENGTH]; |
53 }; |
59 }; |
54 |
60 |
55 /** |
61 /** |
56 * Construct the image cache info object associated with the given image. |
62 * Construct the image cache info object associated with the given image. |
57 */ |
63 */ |