How to replace images?

I'm wanting to replace existing images with an resized version of themselves.
Welcome! That's nowhere near enough information to answer your question.

What images?

RPG Maker has details about all of its assets, if you click Help -> Contents -> Documentation -> Asset Standards, you'll find the instructions about how to make everything. For some things, the specific size matters. For other things, the size doesn't matter but you need to adhere to proportions in the formatting.

It depends completely on exactly what you're talking about.
Like the pictures that are in the img folder. This is for an already existing game.
If you replace them in an already existing game, then the size will be off, for sure. Unless the sizes are off by default, and the edits were made to fix that. But to replace them, you just overwrite the onld files.

Make a backup of your files before you overwrite them, otherwise there might not be a way to undo this, if the result is not what you had in mind.
If you have permission to edit someone else's game, they would've given you the project folders and you'd have the appropriate RPG Maker software.

If you just have a game someone made, you can't just edit the assets - it won't work.

And we can't help you try to do so, hacking other people's games isn't permitted on these forums.
All I wanna do is just make the imgs used for a game to be fit with widescreen. I've already changed the resolution with the community basic plugin and now I'm just trying to accustom the imgs to it.
Is it a game from which you have the legal right to use or edit the assets?
No. I'm not gonna like do anything bad with it I'm just trying to make the game more accustomed to my monitor. People translate games without author's permission.
People translate games without author's permission.
But that is still illegal, even if the original author never learns of it.

What you're completely missing here is that this website is NOT a fansite.
It is the official, company-owned support forum and as such is judged under corporate law, not under private law like fansites.
If anyone on this forum would support an illegal process, a competing company can sue Degica/Komodo and perhaps even force this website to be closed down.

It doesn't matter if you don't want to do something bad - what you want to do is illegal under copyright law, that is the only thing that matters here.
Alright.
People... it is NOT illegal to modify a game, if he only modifies ut for his own use. Rven without permission.

It is only illegal to share those without permission.

To make this run better on their own screen, the user is pretty much allowed to do whatever it takes even if it means replacing all characters with Pamela Anderson, as long as they dont spread the edits.

@OP, if this is just to fit the screen, then replacing images alone isnt going to work. The programming is done to make the images so in rhe correct size and correct place if the window size used. Changing the images means you have to change the programming too.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-replace-images.159329/