image transparency preserved

preserves the transparency of the image, this only occurred in resize and not resize_crop