Subgroup: Raster

Class: QgsRasterResampler

class qgis.core.QgsRasterResampler

Bases: sip.wrapper

Interface for resampling rasters (e.g. to have a smoother appearance)

Methods

clone Get a deep copy of this object.
resample
type Get a descriptive type identifier for this raster resampler.

Signals

Attributes

clone(self) → QgsRasterResampler

Get a deep copy of this object. Needs to be reimplemented by subclasses. Ownership is transferred to the caller.

resample(self, srcImage: QImage, dstImage: QImage)
type(self) → str

Get a descriptive type identifier for this raster resampler. Needs to be implemented by subclasses.