Always strip the Alpha channel before trying to write the temporary images

Signed-off-by: Jerome Flesch <jflesch@gmail.com>