Subgroup: Raster

Class: QgsRasterResampler

class qgis.core.QgsRasterResampler

Bases: sip.wrapper

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

Methods

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

Signals

Attributes

clone(self) → QgsRasterResampler

Gets 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

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