i think it looks better

This commit is contained in:
xenofem 2024-04-14 22:06:43 -04:00
parent 987f427c56
commit 19e74ba90f

View file

@ -40,10 +40,13 @@ NO_TONE_REGEX = re.compile('トーン(効果)?[な無]し|グレースケール'
TONE_REGEX = re.compile('トーン(版|(効果)?[有あ]り)', re.I)
COLOR_REGEX = re.compile('カラー', re.I)
MONOCHROME_REGEX = re.compile('モノクロ', re.I)
MOSAIC_REGEX = re.compile('モザイク', re.I)
BLACKBAR_REGEX = re.compile('墨消し', re.I)
IMAGE_QUALITY_REGEXES = [
{ 'better': HI_RES_REGEX },
{ 'better': NO_TONE_REGEX, 'worse': TONE_REGEX },
{ 'better': COLOR_REGEX, 'worse': MONOCHROME_REGEX },
{ 'better': BLACKBAR_REGEX, 'worse': MOSAIC_REGEX },
]
IMAGE_RESOLUTION_REGEX = re.compile('^(?P<x>[0-9]+)x(?P<y>[0-9]+)$')