which settings i used to create a jpg file in the highest quality.

JPG compression level settings.