For example, it's possible to convert this PNG file into a exactly 2-colors only JPEG file.
identify -verbose gives for both files:
Code: Select all
Histogram:
153600: ( 0, 0, 0) #000000 black
153600: (255,255,255) #FFFFFF white
convert -colors 2 Munch_The_Scream_lithography.png Munch_The_Scream_lithography.jpg or
convert -depth 1 Munch_The_Scream_lithography.png Munch_The_Scream_lithography.jpg or
convert -monochrome Munch_The_Scream_lithography.png Munch_The_Scream_lithography.jpg
The result is a color count of 29.
Is it right to affirm that it won't be possible to have the desired result (for the second case) because the way that JPEG works won't allow this?