calculate quality from compression level

This will calculate the quality parameter for graphicsmagick from the compression level.

Input: 0-9
Output: 10-100