Skip to main content

explain more in the docstring

ID
dae777f
date
2023-05-13 21:29:44+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
2703d44
message
explain more in the docstring
changed files
1 file, 6 additions

Changed files

images/create_tinted_image (852) → images/create_tinted_image (1096)

diff --git a/images/create_tinted_image b/images/create_tinted_image
index e8e20cc..c2126bf 100755
--- a/images/create_tinted_image
+++ b/images/create_tinted_image
@@ -1,6 +1,12 @@
 #!/usr/bin/env python3
 """
 This is a script for creating colour-tinted versions of greyscale images.
+
+It works by creating an RGBA image which has the specified colour
+on every pixel, then controlling the intensity with the alpha value.
+
+I don't use it especially often, but I thought it was a neat trick and
+I wanted to save it for future use.
 """
 
 import sys