A script that automatically downscales selected image when it's added to quick reply form. Useful for when you want to downscale and post an image (usually screenshots) quickly.
If the "Resize" checkbox is checked (ON by default), and an uploaded image meets the image format (JPEG/PNG) and width (1920px) requirements, it is automatically downscaled to 1280x720. Output image is always JPEG with its quality set to 0.92 for reasonable image size to quality ratio.
All parameters and dimensions can be adjusted to your liking in the code, just hit CTRL+F "adjust here".