inverse rgb worked this whole time
This commit is contained in:
parent
901357adbb
commit
3e60f1a478
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ inverse_srgb=$(echo $average_color | sed 's/rgb(\([0-9]*\),\([0-9]*\),\([0-9]*\)
|
||||||
# Use ImageMagick to add the fortune text to the image
|
# Use ImageMagick to add the fortune text to the image
|
||||||
# Use a default font if Arial is not available
|
# Use a default font if Arial is not available
|
||||||
# Add the fortune text directly on top of the image
|
# Add the fortune text directly on top of the image
|
||||||
magick "$TEMP_IMAGE" -size 600x -font "$font" -fill "rgb(255, 0 172)" -pointsize "$fontsize" \
|
magick "$TEMP_IMAGE" -size 600x -font "$font" -fill "$inverse_srgb)" -pointsize "$fontsize" \
|
||||||
-gravity Center \
|
-gravity Center \
|
||||||
-annotate +$x_offset+$y_offset "$WRAPPED_FORTUNE" \
|
-annotate +$x_offset+$y_offset "$WRAPPED_FORTUNE" \
|
||||||
"$TEMP_FORTUNE_IMAGE"
|
"$TEMP_FORTUNE_IMAGE"
|
||||||
|
|
Loading…
Reference in a new issue