Zoomed in battle snapshot

By default MV takes a snapshot of the current map and uses that for the battle background if there is no background selected. Is there a way for the snapshot to be slightly zoomed in? I'm using a hud on the map which shows up in the snapshot, and it's very ugly. I've tried everything to get it to turn off before the snapshot is taken, nothing has worked. so a zoomed in snapshot would be better.
What HUD plugin are you using?

MV (and MZ) hide the window layer before snapping the map for battle, but if your HUD is added to the map another way (e.g. as a sprite directly to Spriteset_Map or Scene_Map), then it needs to be manually toggled off and on during the snap method:

JavaScript:
const customSnapForBattleBackground = Scene_Map.prototype.snapForBattleBackground;
Scene_Map.prototype.snapForBattleBackground = function() {
    this._customSpriteName.visible = false;
    customSnapForBattleBackground.apply(this);
    this._customSpriteName.visible = true;
}

To directly respond to your approach, you can't "zoom in" to hide the HUD in the sense that you are thinking. You can crop the screenshot so that the HUD is no longer part of it, but then you'd have to resize the screenshot to properly fit the game window, which is going to give you a blurry map whose size and tile alignment is inconsistent with the real map.
I'm using MOG_Actorhud and MOG_Partyhud. do you know how i could turn the hud off before the snapshot? Maybe insert some javascript code somewhere? I tried using a plugin to have a common event turn the hud off when a battle was triggered, but it still shows up.
I'm not going to go through the process of finding those plugins, reading through them, installing them, and testing a solution for you. However, the code snippet in my original reply provides you with a template for toggling custom screen elements during the battle snapshot process.

You would need to replace this._customSpriteName.visible = falsewith either a function provided by the plugin to hide/show the HUD, or with a reference to the HUD's sprite(s).
I'm not going to go through the process of finding those plugins, reading through them, installing them, and testing a solution for you. However, the code snippet in my original reply provides you with a template for toggling custom screen elements during the battle snapshot process.

You would need to replace this._customSpriteName.visible = falsewith either a function provided by the plugin to hide/show the HUD, or with a reference to the HUD's sprite(s).
thank you

Original thread: https://forums.rpgmakerweb.com/threads/zoomed-in-battle-snapshot.168515/