options.raw.setSelected(currentEncoding == Encodings.encodingRaw);\r
\r
options.customCompressLevel.setSelected(viewer.customCompressLevel.getValue());\r
- digit = -1 + viewer.compressLevel.getValue();\r
+ digit = 0 + viewer.compressLevel.getValue();\r
options.compressLevel.setSelectedIndex(digit);\r
options.noJpeg.setSelected(!viewer.noJpeg.getValue());\r
- digit = -1 + viewer.qualityLevel.getValue();\r
+ digit = 0 + viewer.qualityLevel.getValue();\r
options.qualityLevel.setSelectedIndex(digit);\r
\r
options.viewOnly.setSelected(viewer.viewOnly.getValue());\r