When using rotated rasters with zero background values in a raster pansharpening function, applying the function chain changes the zero values to non-zero values, causing the exported raster to have an unwanted non-removable background despite setting the background to transparent.