Class: QgsCubicRasterResampler

Cubic Raster Resampler.

Class Hierarchy

Inheritance diagram of qgis.core.QgsCubicRasterResampler

Base classes

QgsRasterResamplerV2

Interface for resampling rasters (V2) (e.g. to have a smoother appearance), which provides a more efficient interface vs QgsRasterResampler.

QgsRasterResampler

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

Virtual Methods

In PyQGIS, only methods marked as virtual can be safely overridden in a Python subclass of QgsCubicRasterResampler. See the FAQ for more details.

resample

class qgis.core.QgsCubicRasterResampler[source]

Bases: QgsRasterResamplerV2

virtual resample(self, srcImage: QImage, dstImage: QImage)[source]

Deprecated since version 3.12.

Use resampleV2() instead.

Parameters:
  • srcImage (QImage)

  • dstImage (QImage)