I don't know a lot about it, but I *think* that those numbers don't mean the same thing. The jpeg number is a quality factor because there is lossy compression being done. I *think* the 1-9 number for a png is the zlib compression level, which is a size/speed tradeoff and won't affect quality. If that's true, then maybe you don't even need to make that an option.
|