42 return source.scaled( size.width(), size.height(), Qt::IgnoreAspectRatio, Qt::SmoothTransformation );
47 return QStringLiteral(
"bilinear" );
Bilinear Raster Resampler.
int tileBufferPixels() const override
Returns the optional tile buffer size in pixels.
QgsBilinearRasterResampler * clone() const override
Gets a deep copy of this object.
QImage resampleV2(const QImage &source, const QSize &size) override
Resamples a source image to the specified size.
Q_DECL_DEPRECATED void resample(const QImage &srcImage, QImage &dstImage) override
Resamples a source image to a destination image.
QgsBilinearRasterResampler()=default
QString type() const override
Gets a descriptive type identifier for this raster resampler.
static QImage resampleImage(const QImage &image, QSize outputSize, GDALRIOResampleAlg resampleAlg)
Resamples a QImage image using GDAL resampler.
#define Q_NOWARN_DEPRECATED_POP
#define Q_NOWARN_DEPRECATED_PUSH