test: New function to save a pixman image to .png
authorSøren Sandmann Pedersen <ssp@redhat.com>
Tue, 22 Feb 2011 10:20:36 +0000 (05:20 -0500)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Sat, 10 Sep 2011 08:07:50 +0000 (04:07 -0400)
commit99a53667da3014a463b8a0e2b6c317efe0ebb220
tree5945aa6f243a96296afbf9dc401ff258b530e858
parent1e1ae0bf6e9dd2189133539b9c34a0f6826b7393
test: New function to save a pixman image to .png

When debugging it is often very useful to be able to save an image as
a png file. This commit adds a function "write_png()" that does that.

If libpng is not available, then the function becomes a noop.
configure.ac
test/Makefile.am
test/utils.c
test/utils.h