QGIS/python/core/auto_generated/raster/qgsbilinearrasterresampler.sip.in
Nyall Dawson 41fa4b19fd Fix rendering artifacts on the edges of resampled raster tiles
We now buffer the request for the input to a resample filter by
a variable number of pixels (depending on the resampling type)
in order to fetch the neighbouring pixels to the edges of individual
raster blocks. This allows the resampling to utilise these
neighbouring pixels when resampling the edges of tiles, avoiding
discrepancies and rendering artifacts over the borders of
raster tiles.

Fixes #30152
2019-11-15 13:48:38 +10:00

49 lines
1.6 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/raster/qgsbilinearrasterresampler.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsBilinearRasterResampler: QgsRasterResamplerV2
{
%Docstring
Bilinear Raster Resampler
%End
%TypeHeaderCode
#include "qgsbilinearrasterresampler.h"
%End
public:
QgsBilinearRasterResampler();
%Docstring
Constructor for QgsBilinearRasterResampler.
%End
virtual void resample( const QImage &srcImage, QImage &dstImage ) /Deprecated/;
virtual QImage resampleV2( const QImage &source, const QSize &size );
virtual QString type() const;
virtual QgsBilinearRasterResampler *clone() const /Factory/;
virtual int tileBufferPixels() const;
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/raster/qgsbilinearrasterresampler.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/