forgot variable

This commit is contained in:
Ione 15 2024-06-16 20:10:47 +02:00
parent 458afc02f9
commit 8744f67f84

View file

@ -4,7 +4,7 @@ script_dir="$(dirname "$(realpath "$0")")" #DONOTMODIFY
UPLOAD_SCRIPT_PATH="${script_dir}/plasma_upload.sh" #Only modify if you changed the upload script name or path
spectacle -rbn -o $TEMP_IMAGE_PATH
if [ -f /tmp/ion.png ]; then
if [ -f $TEMP_IMAGE_PATH ]; then
cjpegli -d 0 --chroma_subsampling=444 $TEMP_IMAGE_PATH $TEMP_IMAGE_PATH.jpeg
#oxipng -s -o max $TEMP_IMAGE_PATH
#cjpeg -optimize -progressive -quality 100 $TEMP_IMAGE_PATH > $TEMP_IMAGE_PATH.jpeg