Zoom with mouse scroll

I’m working on an app where I need to navigate around a large image.

One thing I’d like to do is to control the zoom level using the scroll wheel on the mouse. Has anyone done that?

Could I perhaps use the AnvilAugment library somehow or is there a better way?

Here’s a demo of the sort of thing I’m trying to do. In there, the zoom is controlled by two buttons. (I’ll probably add a slider at some point, but it’s the mouse control I’m unsure about).