Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder Demos and Examples » View Thread |
Messages 1 to 1 of 1 total |
Demo Zoom/Pan within Time lapse: get parameters |
Fri, Sep 26 2014 7:18 PM | Permanent Link |
Almanac | Hey everyone, here is a zip folder containing a EWB web utility for extracting crop and resize parameters for sub-windows in a time lapse sequence. The concept is that within the wider window, I can pan and zoom, to follow elements that move during the sequence. I load a few key frames, choose sub-windows within them, the smoothly interpolate the window geometry/position. A separate script will feed these output parameters to ImageMagick to produce the final images. Here is a link to a short clip showing the key part in action: http://vimeo.com/102544213
Key components: load images, get original size params, use buttons,panels Using an array to get equivalent of 2D array TPaint Draw elastic rectangles "over" an image, move them, translate local coords into original image coords Linear and Bezier interpolation of width/height/upper left position between the keyframes TTimer for showing how the sub-window moves across the images Feel free to use and modify. Thanks to the folks here, specifically Matthew and Uli , for getting me over the walls of ignorance I was hitting. It took a lot longer than I had hoped - there was a lot of fiddling with component properties between design and run-time to get them to work as expected, and of course I had forgotten my Pascal/Delphi syntax to access component values, chasing down standard dumb typos and learning Bezier math. Of course there are better ways of accomplishing what I did, not just in choice of variables/subroutines, but also with object oriented use - however I only went as far as I had to to meet my personal needs. Much appreciation to the EWB team. Regards, Alister. Attachments: MovZoomPan.7z |
This web page was last updated on Friday, March 29, 2024 at 03:30 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |