Skip to content

Commit

Permalink
Merge pull request #763 from thomasjacquin/Dump-TrueColor
Browse files Browse the repository at this point in the history
darkSubtract.sh: don't force -type TrueColor
  • Loading branch information
linuxkidd authored Nov 5, 2021
2 parents 98212d4 + 68152b2 commit 92e0d59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/darkSubtract.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ if [ "${DARK_FRAME_SUBTRACTION}" = "true" ]; then
echo "${ME}: Subtracting dark frame '${CLOSEST_TEMPERATURE}.${EXTENSION}' from image with TEMPERATURE=${TEMPERATURE}"
fi
# Update the current image - don't rename it.
convert "${CURRENT_IMAGE}" "${DARK}" -compose minus_src -composite -type TrueColor "${CURRENT_IMAGE}"
convert "${CURRENT_IMAGE}" "${DARK}" -compose minus_src -composite "${CURRENT_IMAGE}"
if [ $? -ne 0 ]; then
# Exit since we don't know the state of ${CURRENT_IMAGE}.
echo "*** ${ME}: ERROR: 'convert' of '${DARK}' failed"
Expand Down

0 comments on commit 92e0d59

Please sign in to comment.