mirror of https://gitlab.com/bashrc2/epicyon
Debug
parent
c98d862a7b
commit
65247e3bab
1
media.py
1
media.py
|
@ -121,6 +121,7 @@ def _convertImageToLowBandwidth(imageFilename: str) -> None:
|
|||
'/usr/bin/convert -resize 50% +noise Multiplicative ' + \
|
||||
'-evaluate median 10% -dither Floyd-Steinberg ' + \
|
||||
'-monochrome ' + imageFilename + ' ' + imageFilename
|
||||
print('Low bandwidth image conversion: ' + cmd)
|
||||
subprocess.call(cmd, shell=True)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue