Hi,
a small problem is though, that you should use long as quality, not int. Anyway that's the only way I got it to work, got an error the way you used it... :confused:
For EncoderParameter...