Fit Picture To Screen Plugin

This plugin will automatically resize a picture to any screen size


DL Latest Version:


https://raw.githubusercontent.com/creamcast/RPGMakerMVSnippets/master/fitpicture.js


Usage: FITPICTURE PICTURE_ID NAME ORIGINAL_WIDTH ORIGINAL_HEIGHT
 * PICTURE_ID - the picture slot number of where the picture will be stored
 * NAME - the name of the image file without the extension (store the image in the 'picture' folder in your project folder)
 * ORIGINAL_WIDTH - the original width of the image
 * ORIGINAL_HEIGHT - the original height of the image
 * EXAMPLE: FITPICTURE 1 "MYIMAGE" 800 600
This is an extremely simple plugin, but incredibly useful. Thanks for this! I'm surprised no one came up with this sooner!
Does credits needed?

Original thread: https://forums.rpgmakerweb.com/threads/fit-picture-to-screen-plugin.72740/