Fix scan all resolution with JPEG.
When the image received is jpeg, the slave backend did not take into account the resolution, corrected in this commit
When the image received is jpeg, the slave backend did not take into account the resolution, corrected in this commit