Invert Map Color

Is it possible to invert the coloration of the map the player is on as an special effect?

To elaborate, you know how certain anime, such as Yugioh, for instance, invert the colors of the scene to emphasize a certain action or to make it obvious that something extremely strange or important has happened. I need this primarily for emphasis of certain scenes within my games. Non-script is preferred, but if it is impossible without a script, or extremely impractical to the point where it's not even worth setting up, then I will accept a script that does what I need.
I think you can change tileset and character graphics.

You can have inverted color versions made by paint.net and stuff.

If you are parallax mapping it is easier, since you set colors of the pictures.
True, I could make inverted color copies of the tilesets I need and change the tileset from the original to the inverted and back. However, this would need a lot of fine tuning, as I would have to invert the characters involved as well. This would have the potential of increasing the download size. I'll need to hear more possible solutions before I decide.
That probably is the method with the smallest impact on download.  One tile sheet won't make much difference - a completed map done in the editor is typically 60 - 90kb tops (compare that to 1-3Mb for a parallax).  If, however, you are particularly worried about the download size, you could put the inverted tile sheet through http://tinypng.com  Again with the sprites, it would just be a few kb.  

As far as I'm aware, there's no script which will take an existing tilesheet in the editor and invert the colours.  It has to be done externally.  And then just use the event command to change tile set. 
Bitmap Functions by FenixFyreX will allow you to do live changes to tilesets and characters, but it requires two scripts and an external DLL. But you can then invert the map, invert characters, pixelate ... very powerful.
That bitmap one has potential. What are its requirements for use? Is it able to be used for commercial use?
Here is the source download for the BitmapEX script and DLL. I have used Google translate on the terms of usage on WhiteFlute's site, and I am fairly certain it says any script can be used with attribution in commercial and non-commercial, but I am not completely sure. Perhaps someone else could say for sure.


As for FenixFyre's script ... not sure about that either. Fenix is a member of this community, so you could send a PM to ask.
Well, I just messaged him, so maybe I can know what the terms of use are for certain.

Original thread: https://forums.rpgmakerweb.com/threads/invert-map-color.42709/