This commit replaces transparent background with a white canvas. 1. Read the foreground image (the original input image that may contain transparency) 2. Create a new backgorund image of the same size, filled with white color 3. Compose background and foreground into one Via commandline I was able to do the same with `mogrify -background white -flatten $image` but the corresponding code using the perl bindings didn't work.