Skip to content

rio_tiler.profiles

rio_tiler.profiles

Image file profiles.

ImagesProfiles

Bases: UserDict

GDAL Image creation options.

ref: github.com/mapnik/mapnik/wiki/Image-IO#default-output-details.

__getitem__

__getitem__(key)

Like normal item access but return a copy of the key.

__init__

__init__()

Initialize ImagesProfiles dict.

get

get(key, default=None)

Like normal item access but return a copy of the key.

JPEGProfile

Bases: Profile

JPEG creation options ref: www.gdal.org/frmt_jpeg.html.

PNGProfile

Bases: Profile

PNG creation options ref: www.gdal.org/frmt_png.html.

PNGRAWProfile

Bases: Profile

PNG creation options ref: www.gdal.org/frmt_png.html.

WEBPProfile

Bases: Profile

WEBP creation options ref: www.gdal.org/frmt_webp.html.