Greasy Fork

4chan Image Resizer

Automatically downscales uploaded pre-submit images. Requires 4chan X.

目前为 2019-10-30 提交的版本。查看 最新版本

作者
greenronia
评分
0 0 0
版本
1.0
创建于
2019-10-30
更新于
2019-10-30
大小
8.7 KB
许可证
暂无
适用于

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".

Requires 4chan X.