How exactly do I get zoom level in GUI?

I know of these things. It doesn’t tell me how to get zoom level. And I definitely plan to have GUI preview displays output depending on whether I am previewing effect on gray or color or color-alpha or gray-alpha image. Hence my asking of a feature request which is a predefined variable to display a selected image before initialization of filter preview and get the preview[x|y][0|1]. Either that or zoom level.