Importing raster files in GeoPackage
Use gdal_translate to convert your raster data set to geopackage you will need to also use gdaladdo to build zoom levels/overviews. You can also convert you folder of XYZ Google tiles to geopackage with tiles2gpkg_parallel.py