wrlib: do not create an alpha channel if the original image did not have it in RFlipImage
commitcd29983e03b696252d91cd5264bca0417a1768b0
authorChristophe CURIS <christophe.curis@free.fr>
Fri, 4 Jul 2014 21:28:36 +0000 (4 23:28 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 6 Jul 2014 00:07:55 +0000 (6 01:07 +0100)
tree81ce00539522cf9ef87273e8c10e229798fda9b1
parentf2dea1b84060a6bf92d30906cdf9c8d4c2b10a44
wrlib: do not create an alpha channel if the original image did not have it in RFlipImage

As it does not cost anything in the current code to not add this channel,
it is then probably a good idea to keep the output image with the same
format as the input image, this avoid wasting +33% of memory for something
that may be at best unused and at worst will induce extra cost when
manipulating the image.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
wrlib/flip.c