possible bug IM 7 CCL
Posted: 2018-06-12T10:58:57-07:00
This works fine in IM 6.9.9.50 Q16 Mac OSX Sierra to make 3 of the circles transparent and leave one circle white.
![Image](http://www.fmwconcepts.com/misc_tests/CCL/image.jpg)
![Image](http://www.fmwconcepts.com/misc_tests/CCL/image_ccl_result.png)
But it fails to make any circles transparent in IM 7.0.7.39
![Image](http://www.fmwconcepts.com/misc_tests/CCL/image_ccl_result7.png)
![Image](http://www.fmwconcepts.com/misc_tests/CCL/image.jpg)
Code: Select all
convert image.jpg -auto-level -threshold 50% -type bilevel \
-define connected-components:remove=2,4-5 \
-define connected-components:mean-color=true \
-connected-components 4 \
image_ccl_result.png
![Image](http://www.fmwconcepts.com/misc_tests/CCL/image_ccl_result.png)
But it fails to make any circles transparent in IM 7.0.7.39
Code: Select all
magick image.jpg -auto-level -threshold 50% -type bilevel \
-define connected-components:remove=2,4-5 \
-define connected-components:mean-color=true \
-connected-components 4 \
image_ccl_result.png
![Image](http://www.fmwconcepts.com/misc_tests/CCL/image_ccl_result7.png)