code: public static void writeTiles(File geoPackageFile, String tileTable,
  			File directory, String imageFormat, Integer width, Integer height,
  			TileFormatType tileType, boolean rawImage) throws IOException {
  
  		GeoPackage geoPackage = GeoPackageManager.open(geoPackageFile);
  		try {
  			writeTiles(geoPackage, tileTable, directory, imageFormat, width,
  					height, tileType, rawImage);
  		} finally {
  			geoPackage.close();
  		}
  	}
docs: Write the tile table tile image set within the GeoPackage file to the
  provided directory
  
  @param geoPackageFile
  GeoPackage file
  @param tileTable
  tile table
  @param directory
  output directory
  @param imageFormat
  image format
  @param width
  optional image width
  @param height
  optional image height
  @param tileType
  tile type
  @param rawImage
  use raw image flag
  @throws IOException
  upon failure
  @since 1.2.0