JPEG Algorithm Test