Motion - Preview Center
You are here: Foswiki>Motion Web>PreviewCenter (07 May 2008, AngelCarpintero)Edit Attach

Preview image based center of image

Description of Patch

PreviewCenter selects the preview image based on how far center of motion is from center of the image. The image nearest center is saved as preview image. Everyting else is working as in BestPreviewShot. See BestPreviewShot for more info.

Installation of Patch

Download the patch file. If it is packed as a gz or tar.gz unpack it first. Then copy it to the motion source directory and issue the command (assuming the patch file is called filename_of_patch_file.diff)

patch < preview_center.diff

Then re-build Motion and test the patch.

Change History of Patch

1.0 Initial revision
  • 1.0.1 Foxed a small problem that if the most centric image was the first one and locate was set to on, the location wasen't draw on the prewiew image.

Discussion and Comments


Good idea. Not much additional overhead. Transparent to old setups. I'll give it a try.

-- JoergWeber - 17 Aug 2007

What about the change in debian/rules? Can you please explain what it does and why it is necessary?

-- JoergWeber - 17 Aug 2007

Sorry my misstake. Forgot to remove them. I attach a new patch.

-- DagErlandsson - 17 Aug 2007

Very cool idea. Thanks for this contribution. Should for sure be in next release.

-- KennethLavrsen - 19 Aug 2007

Patch included in svn 210. Thanks Dag smile

-- AngelCarpintero - 19 Aug 2007
Topic revision: r9 - 07 May 2008, AngelCarpintero
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.