From 0dc1fc7cd775d88f9f8a4a8eb479ee0d2c1db75a Mon Sep 17 00:00:00 2001 From: tsxv478 Date: Sat, 1 Jul 2023 00:17:33 +0300 Subject: debugoutput --- galgen | 2 ++ 1 file changed, 2 insertions(+) diff --git a/galgen b/galgen index afacfb1..43c3b31 100755 --- a/galgen +++ b/galgen @@ -130,7 +130,9 @@ MY_NUM_FILES=0 for MY_FILENAME in $(ls -r *.[jJ][pP][gG]); do MY_FILELIST[$MY_NUM_FILES]=$MY_FILENAME (( MY_NUM_FILES++ )) + debugOutput "$MY_THUMBDIR/$MY_HEIGHT_SMALL/$MY_FILENAME" $MY_CONVERT_COMMAND -auto-orient -strip -quality $MY_QUALITY -resize "$MY_HEIGHT_SMALL^>" -gravity center -crop "$MY_HEIGHT_SMALL"x"$MY_HEIGHT_SMALL"+0+0 "$MY_FILENAME" "$MY_THUMBDIR/$MY_HEIGHT_SMALL/$MY_FILENAME" + debugOutput "$MY_THUMBDIR/$MY_HEIGHT_LARGE/$MY_FILENAME" $MY_CONVERT_COMMAND -auto-orient -strip -quality $MY_QUALITY -resize x$MY_HEIGHT_LARGE "$MY_FILENAME" "$MY_THUMBDIR/$MY_HEIGHT_LARGE/$MY_FILENAME" cat >> "$MY_INDEX_HTML_FILE" << EOF -- cgit v1.2.3