How to make image transitions seamless?

I am trying to switch images out to change a characters to change a character facial expression and everything is fine except for a brief flash that occurs when the images get swapped out. I currently have it set up like this:

Common event: Show picture facial expression 1
Text:
Erase: picture facial expression 1
Common event: Show picture facial expression 2
Text:

I have tried preloading the images using a plugin but this either didn't work or I used the plugin incorrectly. Is there a way to remove the delay from the transition?
Have you tried showing the second picture before deleting the first one?
Have you tried showing the second picture before deleting the first one?
Nope didn't work it seems like whenever the character image changes at all there's a one frame delay inbetween when the images are shown.
You don't need to use erase picture before showing another. If the picture id is the same, the pictures will swap seamlessly.
Most likely that "flash" is loading delay - an image file has to be completely loaded into RAM before it can be displayed. So a correctly used preloader is the only way to prevent that.

unfortunately preloading is not easy, as you already learned.

The problem is the method by which the preloader works. There are basically three different methods and their variants, and you need to find a preloader with a specific method.

The first method is preloading at the beginning of the game and preventing those files from being deleted by the garbage collector. That only works for a few small and often used images like the GUI elements, because otherwise too much RAM is blocked.

The second method scans an event for required image files before processing it, allowing it to give the preload commands for the show pictures at the start of the event. This usually gains a few frames of time before the show picture is called, and that is often enough.
Unfortunately this usually does nothing if the show picture command is not in the event itself.
Or in other words your call common event for show picture sidesteps this type of preloader.

The third method is manual preloading. A preloader of this type gives you additional script functions to tell it when to load a specific file. You then have to add those commands into your events where they will be more effective - to early and the file might be deleted by the garbagge collection, too late and the load is not complete when the file is needed and you'll still have partial loading delay.

That third is the type of preloader that you need to use, and then learn how to use it.
And sorry, I can't give you links because I never used preloaders before and didn't bother to look for the right one.
Overlay the second face, and don't remove the first one until the message the second face appeared ends. Worked for me.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-image-transitions-seamless.172535/