Log in

View Full Version : How to zoom in/out a higher resolution image?


bigboss97
1st April 2010, 12:27
I'm trying to use the zoom plugin (http://avisynth.org/warpenterprises/files/zoom_25_dll_20050122.zip) to create Ken Burns effect. Since my photos are in a higher resolution than my slideshow screen want to zoom in without loss of quality, i.e. it ends up to a crop of the original image. My questions:
1) Is this possible with that plugin? (I couldn't find the way)
2) If not possible, is it possible if I write my own plugin? As far as I understand, Avisynth filter only run operations on the current displayed frame. So, I can't filter a larger image into a smaller screen. Correct me, if I'm wrong.

Thanks
Phuoc

Gavino
1st April 2010, 13:37
Use the height and width parameters of Zoom to crop the output to the desired size.

You might also consider using mikeytown2's KenBurnsEffect function instead.

As for writing your own plugin, it is perfectly possible for a filter to change frame dimensions (if not, how could internal Crop or resize filters work?).

bigboss97
1st April 2010, 14:17
Thanks, will check that out.


You might also consider using mikeytown2's KenBurnsEffect function instead.