summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortsxv478 <atci39@rambler.ru>2023-07-01 00:17:33 +0300
committertsxv478 <atci39@rambler.ru>2023-07-01 00:17:33 +0300
commit0dc1fc7cd775d88f9f8a4a8eb479ee0d2c1db75a (patch)
treeef543b06cf41f7c4cf7a4fd94c853b343bf6bca6
parent38ec7900983e5f559ce071e28ba1829295b1e486 (diff)
debugoutput
-rwxr-xr-xgalgen2
1 files changed, 2 insertions, 0 deletions
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