There was even some confusion in the RFB protocol regarding this, but
the zlib implementation confirms that accepted values for compression
level is 0-9.
compressionInput.setPrototypeDisplayValue("0.");
compressionInput.setEditable(true);
JLabel compressionLabel =
- new JLabel("Level (1=fast, 9=best)");
+ new JLabel("Level (0=fast, 9=best)");
jpegCheckbox = new JCheckBox("Allow JPEG Compression");
jpegCheckbox.addItemListener(new ItemListener() {
public void itemStateChanged(ItemEvent e) {
compressionInput = new Fl_Int_Input(tx + INDENT, ty,
INPUT_HEIGHT, INPUT_HEIGHT,
- _("level (1=fast, 9=best)"));
+ _("level (0=fast, 9=best)"));
compressionInput->align(FL_ALIGN_RIGHT);
ty += INPUT_HEIGHT + INNER_MARGIN;