For the jpeg test, only compare source and result sizes
All pixels can be slightly different, depending on the jpeg library.