Both GIF and PNG files can contain areas of transparency that will be preserved when images are scaled up or down, rotated or flipped.