The algorithm can doubling the input image size for output image, with
transparency.