MV How to remove anti-aliasing from upscaled attack animations? (urgent)

My game is a pixel art game, and as such I'm using low-res attack animations.
Some of the animations are quite large, and so rather than upscaling them within the img files, I'm instead upscaling them within the actual engine itself. Just type 400% into the upscale variable of each frame, and done and done right?

20-fireslice2.png


Nope. Because anti-aliasing.

So, tldr, when an animation frame is upscaled by a significant amount, or maybe even just rendered (I'm not certain) it has an antialiasing effect applied to it, making it blurry if it's upscaled pixel art.
I would like to remove that.

I'm hoping there's a simple custom script I can put in the plugin manager to fix this, but if it's a more advanced issue that doesn't have an existing or easy fix, I'd be willing to pay for one to be made within the next week. This is very important to my project.
For now, I'm going to continue my development on the presumption that this can be made, and ignoring that the animations look blurry on playback in-game; since I can't see any better way forward given the needs of my project. I really hope I'm right on that

As always thankyou for your help and time.
if you want to keep the scaling without being blurred, you can do so
in Photoshop with image scale and scale up with "nearest edge" option.
to keep it sharpness.

there is also one in GIMP, but I dont know the name of this one.
the effect of those is the same, even downscaling with that option works
smoothly in my opinion.
Scaling up in a graphics editor may mean you need to use multiple cels for a single "slash" of the animation, but that's still workable.

Alternatively, my replies in this thread might help:
@ShadowDragon that isn't really helpful, I already know how to upscale. The blur is being added by the engine itself when it's upscaled within the animation editor. I know how to upscale images within GIMP (which is what I use). I need to upscale the images in-engine for several reasons, including the fact that it's far less time intensive/frustrating, and in the future I may have animations that are larger than the typical animation size limit allows.

@caethyril, thankyou so much. This is exactly what I'm looking for. I had an issue where it wasn't loading but it's because I saved it has a .txt and not .js at first

:rtear:

Anyways, now it's working exactly how I need, so again, thankyou ^.^ Also, you will be in the credits under plugin libraries with all the others, even if it's not required. (gotta have something to fill out that credits roll when you're a solo-dev lol, and I think it's deserved.)
Great, you're welcome! Happy RPG Making~ 😂

Original thread: https://forums.rpgmakerweb.com/threads/how-to-remove-anti-aliasing-from-upscaled-attack-animations-urgent.163443/