<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Hello, </p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">I have made a simple script based on ImageMagick to mix two images (left and right) into an anaglyph (to see with red-cyan glasses):</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><p>leftimage=$1</p><p>rightimage=$2</p><p>outputfile=$3</p><p># Mixing the two images</p><p>convert $leftimage -gravity east -chop 24x0 $outputfile-leftimage2.png</p><p>convert $rightimage -chop 24x0 $outputfile-rightimage2.png</p><p>convert $outputfile-leftimage2.png -level 0%,100%,1.2 $outputfile-leftimage3.png</p><p>convert $outputfile-rightimage2.png -level 0%,100%,1.0 $outputfile-rightimage3.png</p><p>convert $outputfile-leftimage3.png -channel r -fx '+u.r*0 + u.g*0.66 + u.b*0.33' -channel g -fx '+u.r*0 + u.g*0 + u.b*0' -channel b -fx '+u.r*0 + u.g*0 + u.b*0' $outputfile-red.png</p><p>convert $outputfile-rightimage3.png -channel R -fx 0 $outputfile-cyan.png</p><p>convert $outputfile-red.png -channel r -separate "(" +channel $outputfile-cyan.png -separate -delete -3 ")" +channel -combine -depth 8 $outputfile</p><p>rm $outputfile-*.png</p><div><br></div></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">It works quite good, and I think it could be used to create a kipi-plugin, but I actually don't have the time to write a plugin. If some one in this list wants to build an anaglyph plugin for Gwenview and Digikam, please feel free to use this code.</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Luca Tringali</p><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; "> </div>