thebuzzmedia/imgscalr — pull request #80 by supersam654 (2012-12-24 22:08:53+00:00)
Title: Fixed issue with padding removing transparency

Previously, the entire new image was filled with a background color and then the old image was drawn over it. This broke transparency because the background behind the image was being filled in.

Now, only the padded areas are filled in (in the form of 4, non-overlapping rectangles).

I tested this with a random set of images on my computer and everything worked fine. The average speed remained the same on the set of 145 images.

I did not run any formal tests because I don't know how and this is my first pull request (ever). Some help running the actual tests would be great!