I am trying to convert few JPG files with white background to PNG with transparent background. I am using the following command:
convert 2868cif.jpg -fuzz 10% -transparent white 2868cif.png
The command works fine on most of the images. But for images with white content it converts them to as white. refer to sample images below:
In logical terms, I can understand why this is happening. I just wanted to know if there is a workaround for this using imagemagick?

