composite image woes with newer ImageMagick version
Posted: 2011-11-17T12:24:19-07:00
I have two same-size png files, A.png and B.png.
Each has a white background, a black grid pattern, and some black dots.
The black dots are in different places in each image.
I want to overlay A on B, so that the result shows the dots in both A and B,
along with the grid pattern.
On a Linux box with ImageMagick 6.5.1-2 2010-01-06 Q16 OpenMP,
I do this successfully with
convert -composite -transparent white A.png B.png C.png
C.png is the result I want.
I have posted the plots online at: http://www.srl.caltech.edu/NuSTAR_Public/ad/
However, on another Linux box with ImageMagick 6.6.5-10 2011-02-08 Q16,
the result using the same command is an image with a completely black background,
and the grid-pattern has turned blue.
See C_bad.png on the website.
Can someone help me get the result I want, using ImageMagick 6.6.5-10 2011-02-08 Q16 ?
I've tried many permutations of arguments to the convert and composite commands, with no luck...
Thanks,
Andrew
Each has a white background, a black grid pattern, and some black dots.
The black dots are in different places in each image.
I want to overlay A on B, so that the result shows the dots in both A and B,
along with the grid pattern.
On a Linux box with ImageMagick 6.5.1-2 2010-01-06 Q16 OpenMP,
I do this successfully with
convert -composite -transparent white A.png B.png C.png
C.png is the result I want.
I have posted the plots online at: http://www.srl.caltech.edu/NuSTAR_Public/ad/
However, on another Linux box with ImageMagick 6.6.5-10 2011-02-08 Q16,
the result using the same command is an image with a completely black background,
and the grid-pattern has turned blue.
See C_bad.png on the website.
Can someone help me get the result I want, using ImageMagick 6.6.5-10 2011-02-08 Q16 ?
I've tried many permutations of arguments to the convert and composite commands, with no luck...
Thanks,
Andrew