imagecopt resampled, and transparency preserve