MZ Is Nearest Neighbor Scaling Possible in ScreenZoom.js?

So my copy of MZ came with a plugin called ScreenZoom.js written by Sasuke Kannazuki. It lets you zoom your camera in on different event targets which is pretty cool. However I've noticed that whatever method the plugin is using for scaling causes a really nasty blurry effect on all the sprites. It seems that it's not using Nearest Neighbor for its scaling and I was curious if anyone knows a way to modify the code to scale without blurring pixels together.

In RPG Maker MV I used to use MBS_MapZoom.js by Masked for all of my camera zooming and the scaling in this was nice and crisp with no blurred edges. I tried to read through the code to see if I could figure out what he did differently but I'm not really good with Javascript so I couldn't figure it out. Does anyone have any idea why the scaling in this other plugin would cause so much blurring to happen?

The ScreenZoom plugin was in my DLC folder so I'm not 100% sure if it's legal for me to post it (not sure if I only got it because I pre-ordered or if it actually came with everyone's copy). But if you go into the following path in your MZ directory you might have the plugin: \RPGMakerMZ\DLC\BasicResources\plugins\launch

ScreenZoom.jpg
You can use my plugin GRB_NoCharSmoothingOnZoom.js to fix this. (Sorry, the description is Ukrainian-only, but it's pretty self-explanatory.)

Interestingly, I wrote it a day before you've posted this, but I don't usually visit this forum, so I haven't seen this thread. If you need help with this plugin, I won't be here to help, so please write all comments on the wiki discussion page (you can write in any language) or on rpgmaker.ru.

Original thread: https://forums.rpgmakerweb.com/threads/is-nearest-neighbor-scaling-possible-in-screenzoom-js.125915/