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