"Rahul Nabar" on wrote... | On Thu, Apr 24, 2008 at 6:57 PM, | <[EMAIL PROTECTED]> wrote: | | > | > Use two instances of display. One to display the first image and the | > second with the -remote option to tell the first when to switch images. | > Alternatively you can use the -update option. | > | | Thanks duc! The -remote option works great for me. Appreciate the help. | A quick addumdum... Just add -remote to BOTH the first and second commands. The first command will not find a existing display so will start a new one. The second will re-use the first.
NOTE that any specia options should be given on the first command, I have not tested how many of the special option (if any) get transfered from the second call. Especially things like -delay controls. Mind you remember that display is not designed with animations and will always have at least a 2 second delay, and ignores any GIF disposal methods present. Animate will allow you fine time (delay) control as well as disposal handling, and shaped (non-bordered) windows. Display provides a background purely because X windows can not otherwise handle semi-transparnecy that PNG images can make use of. Animate may not handle semi-transpernacy at all due to its handling of GIF disposals, though I have not tested it with a background set by a -backdrop, or a previous frame image using the right disposal method. If anyone experiments and discovered some other points about these commands, or interesting uses, please let me know. PS: see http://imagemagick.org/Usage/scripts/flicker_cmp for a script using animate instead of display for image comparing. Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]> ----------------------------------------------------------------------------- Why are they called "permissions" when they won't let you do anything? -- The Joy of the Tech ----------------------------------------------------------------------------- Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/ _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
