It appears that imagery in GeoPackage exported from GeoServer is shifted to the right by one pixel when compared to the source imagery. Compare the following are two zoomed-in screenshots from QGIS that illustrate the issue:
Source Image
Figure 1. Source GeoTiff image viewed in QGIS
Exported GeoPackage
Figure2. GeoPackage exported from GeoServer is shifted to the right as compared to figure 1.
Compare the width of the black margin on the left side of the images in figures 1 and 2.
It appears that imagery in GeoPackage exported from GeoServer is shifted to the right by one pixel when compared to the source imagery. Compare the following are two zoomed-in screenshots from QGIS that illustrate the issue:
Source Image
Figure 1. Source GeoTiff image viewed in QGIS
Exported GeoPackage
Figure2. GeoPackage exported from GeoServer is shifted to the right as compared to figure 1.
Compare the width of the black margin on the left side of the images in figures 1 and 2.