possible bug in -flatten
Posted: 2008-08-14T12:26:18-07:00
Hello, I was trying to answer a question on the forum at viewtopic.php?f=1&t=11856&p=38644#p38644 which in my solution involved the use of -flatten.
This did not work:
convert bg.JPG \
\( 01.JPG bg.JPG -compose change_mask -composite \) \
\( 02.JPG bg.JPG -compose change_mask -composite \) \
\( 03.JPG bg.JPG -compose change_mask -composite \) \
-flatten 123bg.png
But this did by adding -compose over
convert bg.JPG \
\( 01.JPG bg.JPG -compose change_mask -composite \) \
\( 02.JPG bg.JPG -compose change_mask -composite \) \
\( 03.JPG bg.JPG -compose change_mask -composite \) \
-compose over -flatten 123bg.png
The original images are at: http://www.boulder.swri.edu/~emma/work/misc/index.html
I was under the impression that the default for -compose was "over". But I am not sure that carries over to -layers composite of which -flatten is a member.
Is this a bug, or is there a different default -compose for -layers composite and thus for -flatten?
This did not work:
convert bg.JPG \
\( 01.JPG bg.JPG -compose change_mask -composite \) \
\( 02.JPG bg.JPG -compose change_mask -composite \) \
\( 03.JPG bg.JPG -compose change_mask -composite \) \
-flatten 123bg.png
But this did by adding -compose over
convert bg.JPG \
\( 01.JPG bg.JPG -compose change_mask -composite \) \
\( 02.JPG bg.JPG -compose change_mask -composite \) \
\( 03.JPG bg.JPG -compose change_mask -composite \) \
-compose over -flatten 123bg.png
The original images are at: http://www.boulder.swri.edu/~emma/work/misc/index.html
I was under the impression that the default for -compose was "over". But I am not sure that carries over to -layers composite of which -flatten is a member.
Is this a bug, or is there a different default -compose for -layers composite and thus for -flatten?