I have been using a magnifier code from this github link : Magnify I am trying to set MagImageScaling callback and i was able to get the bitmap through