mirror of https://gitlab.com/bashrc2/epicyon
Don't resize
parent
714ec65e34
commit
ed1a17f4bd
2
media.py
2
media.py
|
@ -119,7 +119,7 @@ def _convertImageToLowBandwidth(imageFilename: str) -> None:
|
||||||
"""
|
"""
|
||||||
lowBandwidthFilename = imageFilename + '.low'
|
lowBandwidthFilename = imageFilename + '.low'
|
||||||
cmd = \
|
cmd = \
|
||||||
'/usr/bin/convert -resize 50% +noise Multiplicative ' + \
|
'/usr/bin/convert +noise Multiplicative ' + \
|
||||||
'-evaluate median 10% -dither Floyd-Steinberg ' + \
|
'-evaluate median 10% -dither Floyd-Steinberg ' + \
|
||||||
'-monochrome ' + imageFilename + ' ' + lowBandwidthFilename
|
'-monochrome ' + imageFilename + ' ' + lowBandwidthFilename
|
||||||
print('Low bandwidth image conversion: ' + cmd)
|
print('Low bandwidth image conversion: ' + cmd)
|
||||||
|
|
Loading…
Reference in New Issue