def _get_extent_resolution(dataset):
    """Gets information about extent as well as x- and y-resolution of a loaded
    raster file.

    :param dataset: osgeo.gdal.Dataset

    :return: Extracted information. [list]
    """
    ulx, xres, xskew, uly, yskew, yres = dataset.GetGeoTransform()
    lrx = ulx + (dataset.RasterXSize * xres)
    lry = uly + (dataset.RasterYSize * yres)

    return [lrx, lry, ulx, uly, xres, yres]