Reworked output image up-sampling to use nearest neighbor style so QR codes look good.