I think conversions between color modes and color profiles are better handled with PIL/Pillow.
here’s a small script to convert a
.png image to grayscale (thanks @frederik for the example):
from PIL import Image img = Image.open('image.png').convert('LA') img.save('greyscale.png')
you can install and use Pillow from inside DrawBot using the new pip installer:
- go to the menu Python > Install Python packages…
- choose Install/Upgrade and type Pillow
hops this helps… good luck!