/home/bill/Projects/Dark matter, spiral galaxies, and galactic current sheets/z _imagemagic howell-image-translate-rotate - tests of combined.txt Tests of combined images www.BillHowell.ca 30Jun2015 #************************ # Tests of combine images cmd := 'null' ; # combine_images IS OP image1 image2 image_dest { host link 'convert "' image1 '" "' image2 '" -combine "' image_dest '"' ; } # error : "no images defined" - doesn't seem to like the 'add' which is interpreted as an image format requiring a decode delegate combine_images IS OP image1 image2 image_dest { host link 'convert -page ' image1 ' -page ' image2 ' -combine add ' image_dest ; } # must put geometry with page - not for galaxy stuff combine_images IS OP image1 image2 image_dest { host link 'convert -page "' image1 '" -page '" image2 "' -flatten '" image_dest '"' ; } # can only see the spiral, not the stars combine_images IS OP image1 image2 image_dest { host link 'composite -blend 90 "' image1 '" "' image2 '" '" image_dest '"' ; } # can't get this right! combine_images IS OP image1 image2 image_dest { host link 'convert -composite "' image1 '" "' image2 '" '" image_dest '"' ; } # blue of one of the images (?first?) and yellow of spiral - no stars combine_images IS OP image1 image2 image_dest { cmd := link 'convert "' image1 '" "' image2 '" -combine "' image_dest '"' ; write cmd ; host cmd ; } # I don't want "darkening - just a simple addition of colors! combine_images IS OP image1 image2 image_dest { cmd := link 'composite "' image1 '" "' image2 '" -blend ' (string 60) ' "' image_dest '"' ; write cmd ; host cmd ; } # can't see spiral combine_images IS OP image1 image2 image_dest { cmd := link 'composite "' image1 '" "' image2 '" "' image_dest '"' ; write cmd ; host cmd ; } # this works OK combine_images IS OP image1 image2 image_dest { cmd := link 'composite "' image1 '" "' image2 '" -blend ' (string 40) ' "' image_dest '"' ; %write cmd ; host cmd ; } # the images didn't have the exact same size - so resize the spiral # -evaluate-sequence max -> the spiral "kills the underlying stars, blend was better combine_images IS OP image1 image2 image_dest { cmd := link 'convert "' image1 '" "' image2 '" -evaluate-sequence max "' image_dest '"' ; write cmd ; host cmd ; }