I have PI v1.8 and every time I try to do the MaskedStretch, on a variety of images, I get the message "black or too dark image, unable to auto-stretch".
I have looked into this and the solutions I found don't work. For background reference I have tried a preview of a small, dark-sky, also a piece of sky with some stars in it. All from a clone of the image I am trying to operate on. Every time I get the same error message. Entering the median value (the old version of MaskedStretch) seemed to be more reliable!
Suggestions welcomed-
James