Masking a scrolling image

  • 1
  • Idea
  • Updated 1 year ago
I'm often simulating a web page on a mobile device or browser window in my videos. I love being able to take a panoramic or scroll-height screenshot in SnagIt, but when I lay it behind a template image of a phone with a transparent area for the screen, the remaining parts of the screenshot image are visible above and below the template as it scrolls through the opening.

I can only make it look right if I use a static, full-screen template shell like the built-in Device Frame effect does, or if I scale it to over 100% of the screen height so that the rest of the content is kept off-screen.

It'd be very helpful to be able to crop/mask an image's display area and still be able to move the image around within that area.
Photo of Drew

Drew

  • 20 Posts
  • 7 Reply Likes

Posted 1 year ago

  • 1
Photo of Rick Stone

Rick Stone

  • 4491 Posts
  • 2002 Reply Likes
Hi there

He may have a better tutorial available, but I'm wondering if you could glean some help from this video Kayakman created:

http://www.screencast.com/t/4Kfzg81ZcCH

Cheers... Rick 
Photo of kayakman

kayakman, Champion

  • 6250 Posts
  • 1834 Reply Likes
an alternate approach would be to make a vertical, dynamic panorama of the scrolled web page, and size it to fit within your phone area ...
http://www.screencast.com/t/MZhosBdvM8z

the key is to animate and crop appropriately
Photo of Drew

Drew

  • 20 Posts
  • 7 Reply Likes
Ah, that is an interesting workaround... thanks!
Photo of kayakman

kayakman, Champion

  • 6250 Posts
  • 1834 Reply Likes
Example Vertical Scrolled Web Page In Device Frame
http://www.screencast.com/t/dlVlBPay5
Photo of Drew

Drew

  • 20 Posts
  • 7 Reply Likes
Thanks Kayakman. That example works because the device frame covers the whole screen. If you were showing an iPhone on top of an animated background, the only way to do it would be the way Rick shared above... make the video separately with a solid color around it and then import the finished video and use the color as an alpha key.
Photo of Drew

Drew

  • 20 Posts
  • 7 Reply Likes
Aha! I hadn't considered the Easing! My scroll image is considerably taller than yours (so much that I can't even get to the crop handles without manually entering Y coordinates) so the Ease was causing it to slide all over like a kitten on ice.

Thanks for the extra time and effort!
Photo of kayakman

kayakman, Champion

  • 6250 Posts
  • 1834 Reply Likes
regarding the tall scroll image; zoom out the canvas until you can see the entire image; then enable/do the cropping 
Photo of Drew

Drew

  • 20 Posts
  • 7 Reply Likes
My image was still too tall at full zoom-out. :D
Photo of kayakman

kayakman, Champion

  • 6250 Posts
  • 1834 Reply Likes
must be really big; I did one that was 19" by 105" in a phone frame; maybe try bigger project settings and different scaling?  or cut it in 2 pieces?
Photo of Drew

Drew

  • 20 Posts
  • 7 Reply Likes
Yeah, it was huge. I got it sorted out though. Thanks!