Extract ImageResampler from X11Grabber