None of the following convert the bit depth to 24. How should it be done using Bash on Ubuntu on Windows?

$ convert img6.png -depth 24 img6.png
$ convert img6.png PNG24:img6.png

enter image description here

share|improve this question
    
The second command (convert img6.png PNG24:img6.png) works for me as you describe. Could you please provide an example of an image where that command doesn't work? What's the output of file on the source and the result file(s)? You should probably use different file names to avoid issues when reading from and writing to the same file (and to preserve the source file in case something went wrong). – David Foerster Sep 27 '17 at 6:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.