Uploading Grayscale images causes the image to be darkened

We have had a similar report of this in the past by @pakl I think did not get to the bottom of it yet, something about those command lines