@@ -951,7 +959,7 @@ function drawWatermark() {
var x = cardWidth / 2 - width / 2
var y = watermarkY - height / 2
//globalAlpha insures that the watermark is drawn partially transparent. This value may not be perfect but the watermark colors are calibrated to it
- card.globalAlpha = 0.4
+ card.globalAlpha = document.getElementById("inputWatermarkOpacity").value
//if the following if statement is true, the watermark will be drawn in two halves of the chosen colors. Otherwise, a single watermark of the first chosen color is drawn.
if (document.getElementById("checkboxSecondWatermarkColor").checked == true) {
drawMask(document.getElementById("watermarkColorSelection").value, x, y, width, height, card, imgWatermark, imgMultiGradient, false)
@@ -1261,7 +1269,6 @@ function downloadCardImage(linkElement) {
}
linkElement.href = cardImageData
}
-
\ No newline at end of file