diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2008-03-21 09:11:48 +0000 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2008-03-21 09:15:42 +0000 |
| commit | 104c2825ea66d7d5f405cc8d690d90b45e752c46 (patch) | |
| tree | 03f9b926441ebe05d68f93ecff11cbe134e30623 /test/text-transform-pdf-ref.png | |
| parent | c4599324820cfb46700bf2f059c46e9245f98ea5 (diff) | |
[cairo-png] Set bKGD gray value.
For PNG_COLOR_TYPE_GRAY images the bKGD value is read from white.gray
which was uninitialized, triggering the "PNG warning = Ignoring attempt
to write bKGD chunk out-of-range for bit_depth" reported by Emmanuel
Pacaud. This patch sets the background gray value to white, the same as
for RGB images.
Diffstat (limited to 'test/text-transform-pdf-ref.png')
0 files changed, 0 insertions, 0 deletions
