Picture Scaling

Hi, sorry if this in the wrong forum, wasn't really sure where to put this.

I was just wondering if there was a way to change what appears to be bilinear filtering when upscaling pictures if you use the zoom change function. I'm looking for a way to change the bilinear into nearest neighbour. If there's a plug and play plugin for this, that would be preferred, but if there's something that I have to modify in the MV core scripts that's fine as well.

Thanks,
Spak

(not a big deal if not possible, just something that's urked me for a while)

edit: I should've mentioned that I'm already using a plugin that sets the window scaling to nearest neighbour.
Bitmap has a property called smooth: it defaults to false and that causes it to use PIXI.SCALE_MODES.NEAREST. If it's true, it uses PIXI.SCALE_MODES.LINEAR.

I'm guessing for pictures it's setting smooth to true.

Edit: Yep.

ImageManager.loadPicture = function(filename, hue) {
return this.loadBitmap('img/pictures/', filename, hue, true);
};

The last argument to loadBitmap is the smooth value; if you want pictures to use nearest neighbour rather than linear, you just need to change that to false.
Bitmap has a property called smooth: it defaults to false and that causes it to use PIXI.SCALE_MODES.NEAREST. If it's true, it uses PIXI.SCALE_MODES.LINEAR.

I'm guessing for pictures it's setting smooth to true.

Edit: Yep.

ImageManager.loadPicture = function(filename, hue) {
return this.loadBitmap('img/pictures/', filename, hue, true);
};

The last argument to loadBitmap is the smooth value; if you want pictures to use nearest neighbour rather than linear, you just need to change that to false.
Sorry, where do i actually find that argument?

Original thread: https://forums.rpgmakerweb.com/threads/picture-scaling.137114/