...
 
Commits (2)
......@@ -259,11 +259,11 @@ do
CONVERT_OPTIONS+=( -rotate "${X}" )
fi
${CONVERT} "${CONVERT_OPTIONS[@]}" -scale "${THUMB_DIM}x${THUMB_DIM} >" "${FILE}" "${SUBDIR}/thumb_${FILENAME}"
${CONVERT} "${CONVERT_OPTIONS[@]}" -scale "${THUMB_DIM}x${THUMB_DIM} >" "${FILE}" "${SUBDIR}/thumb_${FILENAME}" || msg 3 "Error converting thumbnail."
NEWDIM_THUMB_X=$(${JHEAD} "${SUBDIR}/thumb_${FILENAME}" | ${GREP} "Resolution" | ${SED} s/\ x.*$// | ${SED} s/^.*:\ //)
NEWDIM_THUMB_Y=$(${JHEAD} "${SUBDIR}/thumb_${FILENAME}" | ${GREP} "Resolution" | ${SED} s/^.*x\ //)
msg 0 "scaled thumb image to ${NEWDIM_THUMB_X} x ${NEWDIM_THUMB_Y}"
${CONVERT} "${CONVERT_OPTIONS[@]}" -scale "${FULL_DIM}x${FULL_DIM} >" "${FILE}" "${SUBDIR}/pic_${FILENAME}"
${CONVERT} "${CONVERT_OPTIONS[@]}" -scale "${FULL_DIM}x${FULL_DIM} >" "${FILE}" "${SUBDIR}/pic_${FILENAME}" || msg 3 "Error converting full pic."
NEWDIM_FULL_X=$(${JHEAD} "${SUBDIR}/pic_${FILENAME}" | ${GREP} "Resolution" | ${SED} s/\ x.*$// | ${SED} s/^.*:\ //)
NEWDIM_FULL_Y=$(${JHEAD} "${SUBDIR}/pic_${FILENAME}" | ${GREP} "Resolution" | ${SED} s/^.*x\ //)
msg 0 "scaled full image to ${NEWDIM_FULL_X} x ${NEWDIM_FULL_Y}"
......
......@@ -57,43 +57,13 @@ bcd1b040ff8b954c915138ddb185b7a7 easygg/page_07110073.jpg.html
d336ed59ece3954681ab2f3d8d8cb699 easygg/page_07110081.jpg.html
8867ec6044126d729638f63d8c00a227 easygg/page_07110090.jpg.html
103b4bbd81f5af7027ca919314da5017 easygg/page_07110094.jpg.html
4ab89b5231ca01c5f9b19ada7c5f8bea easygg/pic_07110002.jpg
d6d5d7f83a814d8d384149d59eada369 easygg/pic_07110007.jpg
0bc51ce9a14afffd826aeb1cd246ccb0 easygg/pic_07110008.jpg
fbe51551d2482867d5933944f10d9c65 easygg/pic_07110011.jpg
238dad3dc2825df8c9d58dcd7a70e6aa easygg/pic_07110017.jpg
d29ce76ebdb94075e090148c8d9bba60 easygg/pic_07110019.jpg
74b6243f3aff0cc6eb739714436cc4f1 easygg/pic_07110021.jpg
cddf959ad970a9021b9e4b2036da3507 easygg/pic_07110038.jpg
79ad0ae877d668c743c921c916927535 easygg/pic_07110048.jpg
41f5f97150735b80635148c23efe4929 easygg/pic_07110051.jpg
60b5509625722ba972a12852d4307dce easygg/pic_07110069.jpg
6d21d92d490d05b4b4e18e61b4e35793 easygg/pic_07110073.jpg
c8649ba8521e7c0e9a38d85c8fe9e394 easygg/pic_07110077.jpg
c4b559a7cac29377ae2ba19ccdda4c81 easygg/pic_07110081.jpg
0a647141d153e38457679352a207258f easygg/pic_07110090.jpg
daadda8dcd7a44b1e6b3aaf7b64ced64 easygg/pic_07110094.jpg
ed5b5aba2a02594adf9dce4df196b9d9 easygg/thumb_07110002.jpg
e2bd8ea6473f607014f318413cebe273 easygg/thumb_07110007.jpg
0dda43412b81d43cbf479f2df7a33887 easygg/thumb_07110008.jpg
89127307c25694050bc26fa21e826cd4 easygg/thumb_07110011.jpg
763ce8b738604eb5f6f3c4bb70bd98ab easygg/thumb_07110017.jpg
d646fdd1bfdcdc12b100b86ad02b637c easygg/thumb_07110019.jpg
19b90c4272d596d734e241e949cc5d9e easygg/thumb_07110021.jpg
279e5054ad6ce25453f9ac7ae8b16c9d easygg/thumb_07110038.jpg
f3ac35a760d0b71d4c1a51e421cf421b easygg/thumb_07110048.jpg
e9c00ce873e7aef6ec68bdb0f0021eb4 easygg/thumb_07110051.jpg
e2731bd8bb8dc1f4b83532696e0e4514 easygg/thumb_07110069.jpg
0ee7be17eef79928bcb6d1c30d8095f2 easygg/thumb_07110073.jpg
01b23e389e53b6e8eead07975a93f357 easygg/thumb_07110077.jpg
bcbd8a80f2eeb294a5019be62e46f441 easygg/thumb_07110081.jpg
d456a18567bdfc151b68afb5f53d8007 easygg/thumb_07110090.jpg
fe44e1035350e1235d92c8740540e704 easygg/thumb_07110094.jpg
EOF
# tests if same content is produced
runtest "dataset1 content" "md5sum --check easygg/md5sums" "[ \$RET -eq 0 ]"
cat easygg/*.html
rm -rf easygg
......