i'm using imagemagick compare compare 2 images , diff. have 2 questions:
- i want transparent result image diff parts, nothing else. not white - transparent.
- is possible diff of 1 image instead of both ?
thanks!
let's suppose start these 2 images:
convert -size 256x256 xc:black -fill white -draw "circle 100,100 120,100" a.png 
and
convert -size 256x256 xc:black -fill white -draw "circle 120,120 140,140" b.png 
then can differences in red on transparent background this:
compare a.png b.png -highlight-color red -lowlight-color none -compose src diff.png 
i have overlaid onto checkerboard photoshop can see checkerboard through transparency.
as regards second question, have no idea how can difference between single image? difference what?
Comments
Post a Comment